In latex mode, if you double click on delta in
\delta_n
everything is selected, including the underscore n. The correct would be to have selected only \delta. (Indeed, underscore cannot be be said to be part of any notion of word in tex; it is an operator.)
I have experimented with the definition of TeXmodeVars(wordBreak), but suspect that it may be a core problem. For example, the arrow keys, option-left and option-right, correctly understand that underscore is not part of a word.
Further to this, if you double click on delta in \delta_{n} then it is \delta_ that is selected, so the { is breaking the word.
From: Joachim Kock via AlphaCocoa-devel alphacocoa-devel@lists.sourceforge.net<mailto:alphacocoa-devel@lists.sourceforge.net>
Reply-To: Ticket 152 152@tickets.alphacocoa.p.re.sourceforge.net<mailto:152@tickets.alphacocoa.p.re.sourceforge.net>
Date: Saturday, 24 March 2018 5:56 pm
To: "alphacocoa-devel@lists.sourceforge.netalphacocoa-devel@lists.sourceforge.net" alphacocoa-devel@lists.sourceforge.net<mailto:alphacocoa-devel@lists.sourceforge.net>
Cc: Joachim Kock jkock@users.sourceforge.net<mailto:jkock@users.sourceforge.net>
Subject: [Alphacocoa-devel] [alphacocoa:tickets] #152 latex mode word double-click
[tickets:#152]https://sourceforge.net/p/alphacocoa/tickets/152/ latex mode word double-click
Status: open
Created: Sat Mar 24, 2018 06:56 AM UTC by Joachim Kock
Last Updated: Sat Mar 24, 2018 06:56 AM UTC
Owner: nobody
In latex mode, if you double click on delta in
\delta_n
everything is selected, including the underscore n. The correct would be to have selected only \delta. (Indeed, underscore cannot be be said to be part of any notion of word in tex; it is an operator.)
I have experimented with the definition of TeXmodeVars(wordBreak), but suspect that it may be a core problem. For example, the arrow keys, option-left and option-right, correctly understand that underscore is not part of a word.
Sent from sourceforge.nethttp://sourceforge.net because alphacocoa-devel@lists.sourceforge.netalphacocoa-devel@lists.sourceforge.net is subscribed to https://sourceforge.net/p/alphacocoa/tickets/https://sourceforge.net/p/alphacocoa/tickets/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/alphacocoa/admin/tickets/options.https://sourceforge.net/p/alphacocoa/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
Related
Tickets:
#152This is fixed now.
Two remarks:
I'm aware that both points would have to be improved in the future, oh well...
Changes committed to the repository (rev. 1421). The core must be rebuilt.
Last edit: Bernard Desgraupes 2018-03-28