Arg. For get my question. It *has* a main method.
But I have another question: How do I set multiple carets? On right-click I get a context menu but not an additional caret.
Regards,
Matthias
From: <platform-dev-bounces@xxxxxxxxxxx> on behalf of "Becker, Matthias" <ma.becker@xxxxxxx>
Reply to: "Eclipse platform general developers list." <platform-dev@xxxxxxxxxxx>
Date: Friday, 24. January 2020 at 15:43
To: "Eclipse platform general developers list." <platform-dev@xxxxxxxxxxx>
Subject: [CAUTION] Re: [platform-dev] SWT multi-carets/selection proposal: call for Win and Mac testers
Hi Mickael,
maybe a silly question but how do I run that snippet? It does not have a main method.
Regards,
Matthias
From: <platform-dev-bounces@xxxxxxxxxxx> on behalf of Mickael Istria <mistria@xxxxxxxxxx>
Reply to: "Eclipse platform general developers list." <platform-dev@xxxxxxxxxxx>
Date: Thursday, 23. January 2020 at 19:39
To: "Eclipse platform general developers list." <platform-dev@xxxxxxxxxxx>
Subject: [platform-dev] SWT multi-carets/selection proposal: call for Win and Mac testers
I had the opportunity to work on multi-carets/selections in SWT StyledText this winter. My proposal is available at
https://git.eclipse.org/r/#/c/154419/ and I find it's now of good enough quality to incept a merging process.
However, before going further, I'd like some Windows and Mac users to confirm it works for them.
So, can some of you please give it a try?
* Open org.eclipse.swt and org.eclipse.swt.snippets bundles in your IDE.
* Do the usual SWT things: rename the .classpath_<os> to .classpath; if necessary import the platform-specific fragment from the eclipse.platform.swt.binaries repository
* Run Snippet376 and have fun with it