Hello Eric Sorry, I don't have time right now to test this, but you might. Does it send the event when selecting via Shitf+Right/Left Arrow?
It *could* be related to the post selection feature, but not sure (in that case I would expect that Shift+Right/Left Arrow also doesn't send the event). Someone would have to debug this and figure out whether it is the intended behavior or simply a bug. Please cc me if you open a bug report. Dani From: Eric Williams <ericw...@redhat.com> To: platform-dev@eclipse.org Date: 14.02.2019 17:28 Subject: [platform-dev] Eclipse editor and StyledText selection events Sent by: platform-dev-boun...@eclipse.org Hello, I am not sure about certain behaviour in the Eclipse Java editor so I am writing to this list for clarification. I am dealing with an issue where StyledText is not sending SWT.Selection events when doing selecting text in a certain way while using the Eclipse Java editor. Specifically, StyledText.sendSelectionEvent() is not being triggered. For example: 1) Open any Java file in the IDE 2) Press Ctrl + Home 3) Press Shift + End This will select an entire line, but StyledText.sendSelectionEvent() is not called. If I hit the down arrow (moving the caret one line down and clearing the selection), I see the method being called. But doing Shift + End on any line is not triggering it at all. Is this expected behaviour? Using pure SWT StyledText snippets shows that Shift + End is indeed triggering the sendSelectionEvent() method, but for some reason the Eclipse Java editor is not doing that. Thoughts? -- Eric Williams Software Engineer - Eclipse/SWT Team Red Hat _______________________________________________ platform-dev mailing list platform-dev@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://urldefense.proofpoint.com/v2/url?u=https-3A__www.eclipse.org_mailman_listinfo_platform-2Ddev&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=1UITCR5rxUZHSFczvfaNFK4ymEbEiccRX7VKchpqz0Y&m=XUOLRAwWvEaELeI3eBbJzwwPRO1jDAWJC3ymgBgzyBs&s=-69-edFIAbdfRClrT7sSdNq_AnZBp_Dh8I3oyxXUGNA&e=
_______________________________________________ platform-dev mailing list platform-dev@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/platform-dev