Hello,
There is a minor but irritating bug in parentheses emphasing. To see it, please load the attached morph (a workspace) in a 5.3 image. On the line indicated by the arrow, an opening parenthesis that gets automatically highlighted in bold will stay so instead of reverting to normal. To try it: erase that line, type anything, open a parenthesis (and if you have auto-enclose on as it is by default, remove the closing one that just appeared) then type a closing parenthesis. The first one is now bold. Keep typing: it will stay bold. This rather annoying, because there is no simple way to revert to normal emphasis: one needs to type another parenthesis and erase the bold one. This happens only on some lines, and it seems also only if bold text is already present before and after these lines. Stef annoying.morph (54K) Download Attachment |
Hi Stef, as a quick workaround: select the text and hit [cmd]+[0] to remove the emphasis. Best, Marcel
|
> as a quick workaround: select the text and hit [cmd]+[0] to remove the
> emphasis. What is [cmd] on Windows? Best, Stef |
Usually it is the [alt] key. Best, Marcel
|
> Usually it is the [alt] key.
But [alt]+[0] does not seem to do anything. Can someone confirm it does work? Stef |
Maybe enable "Duplicate all CTRL and ALT keys" ... *sigh* [cmd] + [6-0] is a keyboard shortcut for text styling. I used it, for example, to write the release notes through the Help Browser. Best, Marcel
|
> Maybe enable "Duplicate all CTRL and ALT keys" ... *sigh*
Nope - this is enabled by default - and disabling it does not change anything. Stef |
In reply to this post by Stéphane Rollandin
> Hello,
> > There is a minor but irritating bug in parentheses emphasing. To see it, > please load the attached morph (a workspace) in a 5.3 image. > > On the line indicated by the arrow, an opening parenthesis that gets > automatically highlighted in bold will stay so instead of reverting to > normal. > > To try it: erase that line, type anything, open a parenthesis (and if > you have auto-enclose on as it is by default, remove the closing one > that just appeared) then type a closing parenthesis. The first one is > now bold. Keep typing: it will stay bold. > > This rather annoying, because there is no simple way to revert to normal > emphasis: one needs to type another parenthesis and erase the bold one. > > This happens only on some lines, and it seems also only if bold text is > already present before and after these lines. > > Stef > Fixed - see attached changesets. The problem was that #stateArray in TextEditor did not reference the inst. var. lastParenLocation. Should I submit this to the inbox? Stef TextEditor-stateArrayPut.st (652 bytes) Download Attachment TextEditor-stateArray.st (522 bytes) Download Attachment annoying.morph (54K) Download Attachment |
Le mer. 1 avr. 2020 à 18:24, Stéphane Rollandin <[hidden email]> a écrit : > Hello, yes :)
|
Free forum by Nabble | Edit this page |