<div dir="ltr">I would suggest avoiding the issue entirely, and turbo-charge your IDE at the same time with the following settings:<div><br></div><div>  mouseOverForKeyboardFocus  --> enabled</div><div>  Windows Contents' Are Always Active -->  enabled</div><div>  Windows Controls' Are Always Active -->  disabled<br><div><br></div></div><div>It separates window layering from focus, and makes everything "live".  Once used to, it's nearly impossible to go back.</div><div><br></div><div> - Chris</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 2, 2019 at 11:37 AM Christoph Thiede <<a href="mailto:christoph.thiede@student.hpi.uni-potsdam.de">christoph.thiede@student.hpi.uni-potsdam.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I will quote the bug report from  here<br>
<<a href="https://github.com/MrModder/Autocompletion/pull/25#issuecomment-513546349" rel="noreferrer" target="_blank">https://github.com/MrModder/Autocompletion/pull/25#issuecomment-513546349</a>> <br>
:<br>
<br>
> - Open a workspace window, enter some text<br>
> - press shift+left once<br>
> - set the keyboard focus to another window<br>
> - bring focus back to the Workspace<br>
> - press shift+left once again<br>
> Instead of selecting two characters, zero characters will be selected<br>
<br>
The reason is in PluggableTextMorph>>#mouseEnter:, where the following is<br>
done:<br>
...textMorph editor selectInterval: selectionInterval...<br>
As the selectionInterval is always positive, this operation destroys any<br>
editor state where pointIndex < markIndex.<br>
<br>
I just disabled this section in my image, and in a rush, I could not find<br>
out what is missing. What has been the purpose of this snippet?<br>
I also see this might be a debatable behavior: On the one hand, the user<br>
might be irritated when he is returning to a textmorph after a long time,<br>
trying to extend the selection with <shift>Arrow right but the selection is<br>
shrinked indead. On the other hand, I have activated the<br>
#mouseOverForKeyboardFocus setting (which is basically genius) and find it<br>
annoying that the selection behavior changes after repositioning your mouse.<br>
Has this ever been debated before?<br>
<br>
I would welcome your opinions!<br>
<br>
Best,<br>
Christoph<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://forum.world.st/Squeak-Dev-f45488.html" rel="noreferrer" target="_blank">http://forum.world.st/Squeak-Dev-f45488.html</a><br>
<br>
</blockquote></div>