April 30, 2024, 09:20:44 PM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


IDE single character selection on double click.

Started by Jeffers, May 13, 2006, 12:22:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jeffers

Hi all just a quick question.

I have noticed that when attempting to highlight a single character by double clicking on it, I cant do it. The editor control sets a selection space larger than the single character, depending on how centered the cursor is, it selects an extra character to the right or to the left. Is this normal?

Regards Jeff :)

p.s. This is not related to selecting a fully formed word by double clicking on, even notepad will do that.

Parker

That's the default behaivor of scintilla. Lexers don't control the selecting, so it has to have some strange rules that allows it to work mostly with any language you want to show with it. What I've found is if you double click where an operator is, all operators around it get selected, and if you double click in between a word and an operator, both get selected.