Newbie questions

Locked
gurbao
Posts: 2
Joined: 12.12.2012 17:42

Jump to next/prev line

Post by gurbao »

Guess I'm missing something in the settings, so please enlighten me ;)

How do I get the caret to skip to the previous/next line when it is positioned on the first/last character and I press the left/right arrow?
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

Options dlg-- Editor -- [x] Keep caret in text
gurbao
Posts: 2
Joined: 12.12.2012 17:42

Post by gurbao »

Thanks :)
Franco

How to use a language specific help file?

Post by Franco »

Hello, I'm new to SynWrite and I'm trying to figure out if there is a way to call an external language specific help file to look up a specific keyword.

Basically I would like to do something like press Ctrl+F1 and have the word under the cursor looked up on a the CHM file for the language used for the current file.

Best regard,

Franci
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

Possible. See "External tools" help topic. about CHM files.
Borut
Posts: 6
Joined: 19.06.2013 13:16

Newbie questions

Post by Borut »

Hello!

I am very new to SynWrite and this is my first post here. It is nice to see that tools and libraries are used, which were/are familiar to me (Delphi and its various free libraries)!

I am not sure where the general usage questions are to be posted in this forum (because when a newbie can not do something, it does not mean it is a bug), so I am posting one here... This will most probably be a typical newbie RTFM-question and I am sorry for that - I was not able to achieve what I wanted:

a) I have tried to set up this external Markdown tool as described. My problem: I am not seeing it appear in the Run menu (or anywhere else) after the definition has been completed (at least I think so).

b) Also, it would be interesting to know, if relative tool position (relative to the path of SynWrite) is supported, because I am testing the use of SynWrite in a portable scenario.

c) Also another question (only indirectly related to the markdown): I have tried to define a simple macro for making the selected text bold or italic, according to the markdown standard. I was able to define it and it works as expected when invoked from the "macro editor". I am however not able to call it by shortcut keys I tried to define (it works when the key is the most simple one (like I, B - but this is of course not usable; any combination involving Ctrl-, Alt-, or Shift- seems not to work - I have tried many).

Thank you and best regards,
Borut
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

Welcome to forum. a) U probably didn't set active lexer == lexer of tool (Markdown). so u don't see a tool.
b) relative path-- enter it via {SynDir} macro. "{SynDir}\..\Tool\tool.exe"
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

c) tested OK. tried Ctrl+Alt+G key for macro. pls, post detailed msg: attach your Syn.ini SynMacros.ini files (%Appdata%\synwrite) as well(email in About)
Borut
Posts: 6
Joined: 19.06.2013 13:16

Post by Borut »

a) Yes, I obviously did not select the Markdown lexer. :oops: I am so used to .txt being connected with Markdown in another editor. (In the mean time I have learned about various possibilities of assigning lexer to file extensions (and projects) in SynWrite too.
b) Thank you, {SynDir} does it. I have in the meantime also seen the other available macros.
c) I must have had a really bad luck and constantly tried already used shortcut keys. Sorry! :oops: It is working as supposed in the end. (Maybe a small shortcut collision dialogue could improve such situations. Also, it could be that I forgot to click on the Assign button a few times.)

I apologize again. Thank you for your help and a remarkable editor.
Borut
Posts: 6
Joined: 19.06.2013 13:16

Post by Borut »

Some further newbie questions:

I am using SynWrite in a portable way.

1. Currently I have "Save default session on exit, not the current one" checked. (Otherwise I was getting error warning when working on different machines under different accounts.) Where are sessions exactly saved? In a portable use, I would like to save a session locally. Actually, I think that the best would be to save session in a project (or in the same directory in which a project is already saved; or in a project's working directory?), if a project is currently opened.

2. If a project file was deleted from the outside while SynWrite was not in use, the old name is still shown on the next SynWrite run. Is that so intended?

3. Would it be possible that the order of opened tabs follows the order in which project files are sorted (if a project is active). They now follow the order in which they are opened, which of course is logical and usual way, but for me it would be nice if following sorting order in project would be possible.

Thank you!
Locked