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
Hi Stef,
as a quick workaround: select the text and hit [cmd]+[0] to remove the emphasis.
Best, Marcel Am 26.03.2020 11:35:38 schrieb Stéphane Rollandin lecteur@zogotounga.net: 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
Usually it is the [alt] key.
Best, Marcel Am 26.03.2020 13:12:56 schrieb Stéphane Rollandin lecteur@zogotounga.net:
as a quick workaround: select the text and hit [cmd]+[0] to remove the emphasis.
What is [cmd] on Windows?
Best,
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 Am 26.03.2020 13:30:46 schrieb Stéphane Rollandin lecteur@zogotounga.net:
Usually it is the [alt] key.
But [alt]+[0] does not seem to do anything. Can someone confirm it does work?
Stef
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
Le mer. 1 avr. 2020 à 18:24, Stéphane Rollandin lecteur@zogotounga.net a écrit :
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?
yes :)
Stef
squeak-dev@lists.squeakfoundation.org