Robert Roessler wrote:
leegold wrote:
When I do Contrl-E it goes correctly to the matching bracket. But if I
do Cntrl-E again nothing happens.

IMO, it should go back to the original matching bracket. Every time I
hit Contol_E the cursor should go to a matching bracket if it's at a
bracket - the command should not stop working after one time.

Is there a fix for this?

As ALWAYS when reporting a problem, please provide version and platform information... and in this case, the source language would be of use too.

Good advice...

BTW, this functionality works fine in all its permutations for me.

It is broken in some languages, for I unknown reason. I reported it in the past, I got an answer, I don't recall what it was... Example: the PHP lexer (well, that's probably the HTML one): if I am on the right of an opening brace, it is highlighted with its matching one, and Ctrl+E works. But it puts the caret on the left of the matching (closing) brace, with no highlighting nor jumping. Same if I am on the left of the opening brace.
Same behavior with CSS lexer. And my own AutoHotkey lexer, not yet official.
No problem with C/C++/JavaScript/Java lexer, nor the POV-Ray one. Or SQL, Perl, etc. With the InnoSetup lexer, whose language doesn't use braces (not for blocks at least), I get correct matching (ie. on both sides), also with plain text "lexer"...
I fail to see the reasons, I have yet to investigate on debugger level...

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --

_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to