SynPlus 2.X
Moderators: Hacker, petermad, Stefan2, white
I hope this is the right place to ask 
At the moment I am translating Synplus to Dutch but have trouble finding some places of where text is used and some features what they are supposed to do. As you can imagine, I want to know this to make sure my translation fits the context
Thanks for the help
Regards,
RolandD

At the moment I am translating Synplus to Dutch but have trouble finding some places of where text is used and some features what they are supposed to do. As you can imagine, I want to know this to make sure my translation fits the context

- * Where and how is the thumbnail view used?
* What does the multi-view window do?
* Where is the close button for a file?
* Show special character, does this only show line ending?
* Maintain caret column, what is this for?
* Enhance Home Key, what does this do?
Thanks for the help

Regards,
RolandD
Registered user #92105
hmm... it seems no one is watching this thread ...
well anyway here are some more question...
1. how do i add custom highlighter schemes? i mean i tried the add scheme from edit highlighting scheme, but it doesn't do anything.
i managed to add a sceme by editing the ini file but i'm guessing there's an easier way...
2. how can i tell the editor to use variable width fonts?
3. also there's some behavior that i think you could call a bug...
* i load up a file
* edit it and save it as a different name
* edit it some more
* exit without saving
a prompt pops us asking me if i want to save (to the old filename), but there's no cancel button for the prompt
also i think that once you save as a different name it should continue to save to that filename and not the old one..
btw i'm using the latest (2.7.1) version
hope someone responds to this! (and my previous message!)
well anyway here are some more question...

1. how do i add custom highlighter schemes? i mean i tried the add scheme from edit highlighting scheme, but it doesn't do anything.
i managed to add a sceme by editing the ini file but i'm guessing there's an easier way...
2. how can i tell the editor to use variable width fonts?
3. also there's some behavior that i think you could call a bug...
* i load up a file
* edit it and save it as a different name
* edit it some more
* exit without saving
a prompt pops us asking me if i want to save (to the old filename), but there's no cancel button for the prompt
also i think that once you save as a different name it should continue to save to that filename and not the old one..
btw i'm using the latest (2.7.1) version
hope someone responds to this! (and my previous message!)
This is part of the detect string, which is evaluated, when the plugin is called.nirly wrote:what does the "[0]!= "M" |..." mean in the lister plugins configuration?
Excerpt from <listplugin.hlp>:
ListGetDetectString
[...]
The syntax of the detection string is as follows. There are operands, operators and functions.
Operands
EXT The extension of the file to be loaded (always uppercase).
SIZE The size of the file to be loaded.
FORCE 1 if the user chose 'Image/Multimedia' from the menu, 0 otherwise.
MULTIMEDIA This detect string is special: It is always TRUE (also in older TC versions). If it is present in the string, this plugin overrides internal multimedia viewers in TC. If not, the internal viewers are used. Check the example below!
[5] The fifth byte in the file to be loaded. The first 8192 bytes can be checked for a match.
12345 The number 12345
"TEST" The string "TEST"
Operators
& AND. The left AND the right expression must be true (!=0).
| OR: Either the left OR the right expression needs to be true (!=0).
= EQUAL: The left and right expression need to be equal.
!= UNEQUAL: The left and right expression must not be equal.
< SMALLER: The left expression is smaller than the right expression. Comparing a number and a string returns false (0). Booleans are stored as 0 (false) and 1 (true).
> LARGER: The left expression is larger than the right expression.
Functions
() Braces: The expression inside the braces is evaluated as a whole.
!() NOT: The expression inside the braces will be inverted. Note that the braces are necessary!
FIND() The text inside the braces is searched in the first 8192 bytes of the file. Returns 1 for success and 0 for failure.
FINDI() The text inside the braces is searched in the first 8192 bytes of the file. Upper/lowercase is ignored.
[...]
Full version of the LS-Plugin writer's guide 1.5 is available here: http://www.ghisler.com/plugins.htm (goto chapter "Lister extensions (plugins)"... you can find a download link to the guide in the last row of the table)
A detect string like
"([0]!="M" | [1]!="Z" | [2]!="P")"
should avoid SynPlus from loading the SynPlus executable files (<synplus.wlx>, <spsett.dll>, <spluseditstart.exe> and so on). The first 3 bytes of each SynPlus executable (the "header") are "MZP".
But why SynPlus should be prevented from loading its own executables, I don't know...

You need to reread the highlighters directory (third icon from the left in the editor, the one with the two arrows in it)nirly wrote:1. how do i add custom highlighter schemes?
Plugin settings > synplus interface > change fonts2. how can i tell the editor to use variable width fonts?
I get the usual yes/no/cancel buttons on my version 2.7a prompt pops us asking me if i want to save (to the old filename), but there's no cancel button for the prompt
sounds like normal "save as" behaviour to mealso i think that once you save as a different name it should continue to save to that filename and not the old one..
HTH
i can't believe i didn't notice that!You need to reread the highlighters directory (third icon from the left in the editor, the one with the two arrows in it)
well i did that the problem is that the editor uses the variable width font as a fixed width font, making it real ugly looking...Plugin settings > synplus interface > change fonts
yep.. i tried it too... so i guess it's a problem of version 2.7.1I get the usual yes/no/cancel buttons on my version 2.7
Hello,
first of all, I like your plugin!!
But I have a little problem with searching with the key "F3":
with pressing F3 the selection jumps to the next location of the search string. If the last one has been found and I press F3 again, a message box appears "Text ... not found" and the view jumps to the start of the file. Up to this point everything is fine. But if I press F3 again now, I would expect that it jumps to the first position in the file where the string can be found because the view shows me the beginning of the file. What I get is always the message box "Text ... not found". Only after positioning the cursor in the beginning of the file "F3" works again.
It seems to me that after the last "F3" the view jumps to the start but the actual cursor position remains at the last position...
I also would have two suggestions:
1. I didn´t find a way to jump to a specific line number. I would suggest a functionality behind the "caret position" in the status line like behind the other status fields ("double click to change") ...
2. How about showing the "Code of the symbol" in both dec and hex:
A = #65 / $41
or A = 65 / 0x41
Doesn´t need more space than the now and gives more information. And I would expect that the users who need this information know what $ or 0x means so in my opinion showing (DEC) or (HEX) is dispensable.
Regards
Thomas
first of all, I like your plugin!!

But I have a little problem with searching with the key "F3":
with pressing F3 the selection jumps to the next location of the search string. If the last one has been found and I press F3 again, a message box appears "Text ... not found" and the view jumps to the start of the file. Up to this point everything is fine. But if I press F3 again now, I would expect that it jumps to the first position in the file where the string can be found because the view shows me the beginning of the file. What I get is always the message box "Text ... not found". Only after positioning the cursor in the beginning of the file "F3" works again.
It seems to me that after the last "F3" the view jumps to the start but the actual cursor position remains at the last position...
I also would have two suggestions:
1. I didn´t find a way to jump to a specific line number. I would suggest a functionality behind the "caret position" in the status line like behind the other status fields ("double click to change") ...
2. How about showing the "Code of the symbol" in both dec and hex:
A = #65 / $41
or A = 65 / 0x41
Doesn´t need more space than the now and gives more information. And I would expect that the users who need this information know what $ or 0x means so in my opinion showing (DEC) or (HEX) is dispensable.
Regards
Thomas
I am relaying a request from the Slovak / Czech forum:
Could somebody please create a highlighter file for descript.ion files?
TIA
Roman
Could somebody please create a highlighter file for descript.ion files?
TIA
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
- majkinetor !
- Power Member
- Posts: 1580
- Joined: 2006-01-18, 07:56 UTC
- Contact:
I was lookin recently to syntree program from the same author that uses the same highliters, and I am wondering is there any utility to create those XML files. OFC, you could edit them manulay witch in Hakers case makes sense, but not for large set of keywords.
SO, is there any tool for this or no ?
SO, is there any tool for this or no ?
Habemus majkam!
-
- Junior Member
- Posts: 14
- Joined: 2006-12-01, 07:44 UTC
- Contact:
I'm using synplus 2.7.3 and I have a request:
when listing files synplus set the cursor at the position when last opened.
This is quite anoying when searching in files.
Can this cursor setting be a option user can enable/disable? when disabled cursor is set to the top of the file.
Thanks for a great program.
/Peter
when listing files synplus set the cursor at the position when last opened.
This is quite anoying when searching in files.
Can this cursor setting be a option user can enable/disable? when disabled cursor is set to the top of the file.
Thanks for a great program.
/Peter