I am not quite following what you want to do. Can you give an example
interaction?
Robby
On Sunday, September 6, 2015, Martin DeMello
wrote:
> I'm trying to override the automatic backward-sexp highlighting in
> drracket to highlight the sexp based on the ) after the
The highlighting you're interested in changing is the (by default)
grey highlighting that moves around when you change the insertion
point (when you use the arrow keys, say), right?
If so, I think the code you're looking for is the match-parens private
method in framework/private/color. You can
On 2015-09-06 20:41:18 -0500, Robby Findler wrote:
> Some suggestions about the method you linked to:
>
> - Don't create the brush inside on-paint (use the brush-list or stick
> it in a field).
>
> - Don't assume that the width of "a" is the same as the other widths
> (it isn't in common racket
Let's say I have the following:
(let ([x (foo bar)] ... )
In the regular drracket editor, when I move the cursor between the ) and ]
it highlights (foo bar). In the vim emulator, the cursor has been replaced
by a block that highlights a character, rather than a line just before it.
So the same
4 matches
Mail list logo