SynWrite (Syn2)
Moderators: Hacker, petermad, Stefan2, white
- Matthias030
- Senior Member
- Posts: 423
- Joined: 2007-03-04, 10:48 UTC
- Location: Berlin
- Matthias030
- Senior Member
- Posts: 423
- Joined: 2007-03-04, 10:48 UTC
- Location: Berlin
Thank you for the fast update. Works good for me now.
There is another thing that is sometimes a little bit confusing for me. Thats for sure a bit complicated.
You can set read-only mode to on or off. You can do this in configuration dialog or by clicking on the lock-icon in status bar. The last state after closing is remembered for next startup. Further it seems that the last state for some documents is also written in SynState.ini
I would like it this way: I use plugin mode (F3) only for viewing (read only on) and exe mode (F4) for edit (read only off). But in plugin mode I would like to temporary set read only off. Read only in plugin mode is important since I can switch with Key "4" through registered TC plugins. But in write mode i get every time the message to save my changes.
The big problem here is that only one ini-file is used for both (plugin + exe). So a forced read-only-on for plugin and read-only-off for exe is complicated to realize. Maybe you can create a new global option "Force Read only at Startup" and a command line parameter "WriteMode" for exe? Or even better two new configuration options "force read only plugin" and "force read only exe".
Btw. saving the read only state in SynState.ini is not needed for me at all. That should be disabled.
There is another thing that is sometimes a little bit confusing for me. Thats for sure a bit complicated.
You can set read-only mode to on or off. You can do this in configuration dialog or by clicking on the lock-icon in status bar. The last state after closing is remembered for next startup. Further it seems that the last state for some documents is also written in SynState.ini
I would like it this way: I use plugin mode (F3) only for viewing (read only on) and exe mode (F4) for edit (read only off). But in plugin mode I would like to temporary set read only off. Read only in plugin mode is important since I can switch with Key "4" through registered TC plugins. But in write mode i get every time the message to save my changes.
The big problem here is that only one ini-file is used for both (plugin + exe). So a forced read-only-on for plugin and read-only-off for exe is complicated to realize. Maybe you can create a new global option "Force Read only at Startup" and a command line parameter "WriteMode" for exe? Or even better two new configuration options "force read only plugin" and "force read only exe".
Btw. saving the read only state in SynState.ini is not needed for me at all. That should be disabled.
- Matthias030
- Senior Member
- Posts: 423
- Joined: 2007-03-04, 10:48 UTC
- Location: Berlin
The easiest way is to use 2 Syn2 installations in different directories. One for plugin and one for exe mode. For plugin I need the option to start always in read only mode. If I temporary disable read only for plugin then it shoud be enabled again next time.
That could be done in following way:
Options dialog -> Editor -> Read only: Set read-only for startup to on/off
Lock-Icon in Status Bar: Temporary enable / disable read-only for current session.
That could be done in following way:
Options dialog -> Editor -> Read only: Set read-only for startup to on/off
Lock-Icon in Status Bar: Temporary enable / disable read-only for current session.
- Matthias030
- Senior Member
- Posts: 423
- Joined: 2007-03-04, 10:48 UTC
- Location: Berlin
- Matthias030
- Senior Member
- Posts: 423
- Joined: 2007-03-04, 10:48 UTC
- Location: Berlin
- Matthias030
- Senior Member
- Posts: 423
- Joined: 2007-03-04, 10:48 UTC
- Location: Berlin
It works exactly as I wanted. This was really good work! big thx.
I played around with Copy <-> Copy as RTF this morning. It seems that both options in context menu (right mouse button) and CTRL+C always do the same. Is "Options dialog -> Editor -> Copy to clipboard as RTF" = on, then always RTF is copied. Is setting in options = off then always standard text is copied.
Another little annoying thing: If you enable/disable word wrap, the document jumps back to current cursor position. Open any document, scroll down some pages and then press Ctrl+W, the document jumps back to beginning. To avoid jumping back, you can do a mouseclick to set the cursor to the current shown position. But in read-only-mode and option "show caret in read-only"=off the document always jumps back to the beginning.
I played around with Copy <-> Copy as RTF this morning. It seems that both options in context menu (right mouse button) and CTRL+C always do the same. Is "Options dialog -> Editor -> Copy to clipboard as RTF" = on, then always RTF is copied. Is setting in options = off then always standard text is copied.
Another little annoying thing: If you enable/disable word wrap, the document jumps back to current cursor position. Open any document, scroll down some pages and then press Ctrl+W, the document jumps back to beginning. To avoid jumping back, you can do a mouseclick to set the cursor to the current shown position. But in read-only-mode and option "show caret in read-only"=off the document always jumps back to the beginning.
- Matthias030
- Senior Member
- Posts: 423
- Joined: 2007-03-04, 10:48 UTC
- Location: Berlin