[quote=“jules”]Hmm… text editors do generally remember what’s highlighted when you change focus to other windows, which is why I did it like that (e.g. if a modal dialog appeared while you were in the middle of highlighting something, you’d want to be able to go back and carry on when you’ve dismissed it). But maybe you mean that it’s odd when there are multiple text editors on the page, as it seems intuitive that only the last one you used should remember its highlighting? (Not sure how I’d do that, since if you create a bunch of editors, they don’t know of each other’s existence).
(You might also want to use a Label instead, which would avoid all these ambiguities)[/quote]
Well, I’ve played with some Microsoft Windows settings forms with TextEditors in them in order to affirm it and it seems that on Windows, at least, TextEditors clear their highlighted regions upon losing focus (and not necessarily to another TextEditor, but to any control); I guess that’s why an inactive TextEditor with highlighted text in it seems weird to me.
Is it different on Mac OS?