Summary: | A mouse action to add a caret into editor | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Mickael Istria <mistria> |
Component: | Text | Assignee: | Mickael Istria <mistria> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | CC: | sarika.sinha |
Version: | 4.21 | Keywords: | noteworthy |
Target Milestone: | 4.22 M1 | ||
Hardware: | All | ||
OS: | All | ||
See Also: |
https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/185731 https://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=5b4b50264e68ba3ac3c0881431bc4175bb93aa12 |
||
Whiteboard: | |||
Bug Depends on: | 466532 | ||
Bug Blocks: |
Description
Mickael Istria
2021-08-12 11:41:09 EDT
So Alt+Click is the one used by VSCode and seems to be free for TextViewer et al. Any objection against using that? Should we add it to StyledText (so all StyledText now become capable of multi-carets by user decision), or to TextViewer, or somewhere else? Alt + Click sounds good. As the Multi Caret support exists in StyledText, mouse action can be added to this. New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/185731 Gerrit change https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/185731 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=5b4b50264e68ba3ac3c0881431bc4175bb93aa12 Done. One can now use Alt+Click on any StyledText to add a caret. Can we highlight the "Select All" button and add the image in N&N ? It's a cool thing and can get unnoticed without the image. Is Alt+Click enough or we should mention Option+Click also? |