Posted 18 years ago
by Joris Koster
-
Paragon Decision Technology
When I toggle the BracketHighlightingVisible (both true to false and false to true) while the caret is currently on a bracket, the new BracketHighlighting-mode is not applied on the screen. Only moving the caret, programmaticaly or manualy, causes the BracketHighlight-drawing to be enabled/disabled as specified.
I would like to disable BracketHighlighting whenever the editor doesn't have the focus; so i'm enabling/disabling the bracket highlighting on the Got/Lost focus event. Unfortunately I'm now forced to move the caret back and forth programatically in order to let the redraw occur, but doing so has a nasty side-effect on the intelliprompt memberlist: the edit-ctrl looses focus to the member-list-ctrl upon a mouse-click in the member-list; this causes me to move the caret and thus to cancel the selection. So I ended up checking the visibility of the memberlist during the got/lost focus call before toggling the BracketHighlightingVisible and moving the caret :S.
Could this BrackeHighlighting redraw bug be fixed, or (alternatively for me :)) have an option to enable BracketHighlighting only on focus?
thanks,
Joris
I would like to disable BracketHighlighting whenever the editor doesn't have the focus; so i'm enabling/disabling the bracket highlighting on the Got/Lost focus event. Unfortunately I'm now forced to move the caret back and forth programatically in order to let the redraw occur, but doing so has a nasty side-effect on the intelliprompt memberlist: the edit-ctrl looses focus to the member-list-ctrl upon a mouse-click in the member-list; this causes me to move the caret and thus to cancel the selection. So I ended up checking the visibility of the memberlist during the got/lost focus call before toggling the BracketHighlightingVisible and moving the caret :S.
Could this BrackeHighlighting redraw bug be fixed, or (alternatively for me :)) have an option to enable BracketHighlighting only on focus?
thanks,
Joris