Discussion:
Shift-TAB changes the caret position but doesn't trigger UpdateUI - Bug?
Charly Dante
2014-01-12 10:31:51 UTC
Permalink
Hi,

I have a question about the UpdateUI event. It is triggered everytime the
caret is moved, which is why I use it for Brace-Highlighting. However, if
you use Shift-TAB (to move the caret one indentation backwards), the event
isn't fired at all, although the position of the caret changed. If there
is a brace at the new position it doesn't get highlighted at all due to
this behaviour.

Is this a bug or do I somehow have to enable the UpdateUI event for
Shift-TAB?

Best,
CD
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.
Neil Hodgson
2014-01-12 22:03:51 UTC
Permalink
Is this a bug or do I somehow have to enable the UpdateUI event for Shift-TAB?
Its a bug. A fix was committed:
http://sourceforge.net/p/scintilla/code/ci/dc4440e7e27cb4ca670f71efa818f1005d155db2/

Neil
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.
Charly Dante
2014-01-12 22:16:37 UTC
Permalink
Works perfectly, thank you very much for the fast fix!
Post by Charly Dante
Post by Charly Dante
Is this a bug or do I somehow have to enable the UpdateUI event for
Shift-TAB?
http://sourceforge.net/p/scintilla/code/ci/dc4440e7e27cb4ca670f71efa818f1005d155db2/
Neil
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.
Loading...