Fix confirmed, thank you!Alextp wrote:Seems i fixed it for "$". I skip next 2 chars (for \r\n) or 1 char (for \n or \r) on replacement.
I wonder if \n\r is ever used instead of \r\n
Moderators: Hacker, petermad, Stefan2, white
For me it remembers state of tree window only by closing syn with "X" button (upper right corner of window) or by pressing ALT+F4. Closing syn by menu (File -> Exit) don't work for that case.>SW always opened with the Tree showing.
Here is my first hack of an AHK.acp»AHK.acpAlextp wrote:>Could we create an acp file for AHK?
You can. U can see ACP format in other file.
When I reopen SW, there are never any files listed under "Open Recent".Alextp wrote:>to remember recent files between sessions?
It remembers. U can see file list in Open dropdown.
Do u have "Misc -- History -- 1st edit" 0? If it not 0, send me your Syn.ini (%AppData%\SynWrite\Syn.ini)When I reopen SW, there are never any files listed under "Open Recent".
Ill add itsome kind of &hotkey ...
Goto your lexer properties (Using Lexer Dibrary Dlg). Press Export btn. Save under ___.lcf. Then u can restore it.update my LexLib.lxl and keep my customizations.
Please make sure that remembering of last files is activated in options. Go to "Options -> Customize -> Misc 2" and look under "History" how many files should be remembered for next startup.When I reopen SW, there are never any files listed under "Open Recent".
These hotkeys that you want to change are hardcoded in syn for english language. For all other languages you can edit language files. But I do not suggest to do that. Much better is to define your own hotkeys in "Options -> Customize -> Keys".I would give "Open Recent", Load Session & Save Session some kind of &hotkey ...
I would remove the &hotkey from "Close and &delete".
I accidentally hit "e" under the File dropdown menu, and
SW closed all my files ... at least I did not accidentally hit "d" ...
If there are updates in lexlib in a new syn version, you should also update your lexlib with the new provided one. To don't lost your own customizations you should save your changed lexers in sparated lexer files BEFORE updating to the new syn version. To do that do the following:I've downloaed the latest SW.rar but still do not understand
how to update my LexLib.lxl and keep my customizations.
I already had that setting set to 20. It was not working at first - but this morning I see that it is now working!?!Matthias030 wrote:Please make sure that remembering of last files is activated in options. Go to "Options -> Customize -> Misc 2" and look under "History" how many files should be remembered for next startup.When I reopen SW, there are never any files listed under "Open Recent".
My point is that the &e hotkey in the "Close and &delete" item under the file dropdown menu is dangerous.Matthias030 wrote:These hotkeys that you want to change are hardcoded in syn for english language. For all other languages you can edit language files. But I do not suggest to do that. Much better is to define your own hotkeys in "Options -> Customize -> Keys".I would give "Open Recent", Load Session & Save Session some kind of &hotkey ...
I would remove the &hotkey from "Close and &delete".
I accidentally hit "e" under the File dropdown menu, and
SW closed all my files ... at least I did not accidentally hit "d" ...
If I export then re-import won't that overwrite all/any changes to the lexlib file that may have been made?Matthias030 wrote:If there are updates in lexlib in a new syn version, you should also update your lexlib with the new provided one. To don't lost your own customizations you should save your changed lexers in sparated lexer files BEFORE updating to the new syn version. To do that do the following:I've downloaed the latest SW.rar but still do not understand how to update my LexLib.lxl and keep my customizations.
Go to "Options -> Customize lexer library". Select the lexer you want to export and press "Export lexer" icon. After updating syn with new lexlib file you can re-import your lexers in the same way.