SynWrite (Syn2)

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
hoppfrosch
Junior Member
Junior Member
Posts: 67
Joined: 2004-10-20, 05:39 UTC

Lexer Configuration?

Post by *hoppfrosch »

Is there an easy-to-understand documentation about configuring the lexer?

I tried to expand the perl lexer for functions and code folding looking at the C++-example, but didn't succeed yet ...
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

User avatar
Matthias030
Senior Member
Senior Member
Posts: 423
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

Post by *Matthias030 »

- Not all Shortcut Keys for Bookmarks in RO mode are working (CTRL+1, CTRL+2, CTRL+3,...):
(ok in demo, but not in syn2 )

Fix
Upd(beta)
Used menu way(menu is still not shown)
Thx for fix. Works well in exe, but is not working in wlx. As I remember correctly you told that menu way is only possible in exe. Is ist easy to put it also into wlx?
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

Indeed. Dont know why, plugin has menu but doesn't handle it
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

fix for plug too. Separate code. Upd.
User avatar
Matthias030
Senior Member
Senior Member
Posts: 423
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

Post by *Matthias030 »

Great. Now shortcut keys for bookmarks are available in wlx. Also my self defined shortcut for print preview (Ctrl+Shift+P) is working in wlx.
User avatar
Matthias030
Senior Member
Senior Member
Posts: 423
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

Post by *Matthias030 »

I had a look into htm.acp. There are 3 areas:
[HTML.Attributes]
[HTML]
[CSS]

{HTML] and [CSS] is used for Html and CSS Autocomplete. But what is [HTML.Attributes]? Is it used somewhere? Looks like descriptions for tag values.
damjang
Senior Member
Senior Member
Posts: 215
Joined: 2003-10-09, 15:58 UTC
Contact:

Post by *damjang »

I installed the latest beta (wlx), but when I press ESC to exit the Print preview appear. Then I must press ESC one more time to exit. I controll the keys configuration: ESC is not defined an Print preview have no key defined

damjang

PS: if I close syn2 by menu or X on the window all is ok
User avatar
Matthias030
Senior Member
Senior Member
Posts: 423
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

Post by *Matthias030 »

That's curious. For me ESC exits Syn correctly if I do an upgrade and use my old syn.ini. If I make a clean install and syn creates a new syn.ini then I got the same behaviour.

In both ini files ESC is not bound to any function in keyboard configuration
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

used for Html and CSS Autocomplete. But what is [HTML.Attributes]? Is it used somewhere?
Don't know..
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

crap. Esc fixed. Upload..
yeskky
Member
Member
Posts: 177
Joined: 2007-03-01, 05:32 UTC
Location: Jiang Su,China

Post by *yeskky »

Hi Alextp, do you plan to add multi-language support to syn2, please?
#222405 Single user licence
User avatar
Matthias030
Senior Member
Senior Member
Posts: 423
Joined: 2007-03-04, 10:48 UTC
Location: Berlin

Post by *Matthias030 »

This was discussed a long time ago here: http://ghisler.ch/board/viewtopic.php?t=25586&postdays=0&postorder=asc&start=51

Btw if Alex plan to make language support, I would make a german translation.
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

Maybe after i make the menu.
damjang
Senior Member
Senior Member
Posts: 215
Joined: 2003-10-09, 15:58 UTC
Contact:

Post by *damjang »

Alextp wrote:crap. Esc fixed. Upload..
Yes, now work ok!
I already ask, but maybe overlooked: is it possible to add to About screen and also to the wlx the version/build number? Now is not possible to determine the version/revision number of the build. If I open the wlx in FileInfo lister there is no version information...

Thanks
damjang
Post Reply