Newbie questions

thewintersolstice
Posts: 2
Joined: 20.01.2014 19:09

current line focus border

Post by thewintersolstice »

Thank you for the SynWrite editor.
Question: can we change the color of the current line focus *border*?
Thank you & best regards.
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

a) Dotted line?No.It's always Invert-color.
b) Carets: No, 3 times, cannot.
Guest

Post by Guest »

"Auto Show Parameter Hints", where can I find the help to use the above feature?
Basically the file, where the hints to be maintained and so on.

Regards.
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

It's topic "Auto-completion - Introduction".
Guest

Post by Guest »

Thx Alexey;
Another issue I need help is on below.

http://i57.tinypic.com/jg4bxh.png

In the above link, the cursor is shown with yellow but the horizontal ruler is shown in Green.
In this screen, they are out of sync.

My initial thought was that it is due to usage of non-monospace fonts.
So, changed the font to Consolas which should have solved this issue.
But still this out of sync is seen.

Is there a way to fix this?

Regards.
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

What causes it? Maybe non 100% zoom, it's known issue.
checkid
Posts: 14
Joined: 05.03.2013 15:09

Post by checkid »

Hi,
I have been setting up a Auto Complete "acp" file.
However, I could not make the "parameter hint" correctly.

for instance this is how my ".acp" looks like.

Code: Select all

#chars ._$[]<>
long audit_write (long id, const string seqhdr())
long base64.decode (string data.in, ref string data.out)
The parameter hint works only till audit_write.
However starting with base64.decode() it does not show the parameter hint, even when pressing Ctrl+Shift+Enter.
[..edit by Alex..]
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

Sorry, func-hint works for names WITHOUT dot only. This is limitation. To make it work, you need Python auto-completion plugin (see example in "Plugins" forum part)
checkid
Posts: 14
Joined: 05.03.2013 15:09

Post by checkid »

Thx Alexey for the reply about func-hints.
I haven't been able to get the plugin working yet... and will check about that later when I get some extra time.

However, have a question regarding Rules condition.
I have a mask "^boolean$" which will pick up both below lines.

How to write a mask which picks up only "Var1" and not "Var2".
I have tried "^[^extern]\sboolean$" and several other regexes with and without several modifiers.

Is there a way to achieve this?
boolean Var1
extern boolean Var2
http://tinypic.com/r/mjo7pl/8
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

Func-hint plugin must be event plugin with event on_func_hint (see Events page, wiki)

Rule which catches "var1" and not "var2"-> "var1"
Locked