Community
Participate
Working Groups
The Generic Editor should by default support the three mode toggles available for text editors: - Toggle Word Wrap (org.eclipse.ui.edit.text.toggleWordWrap) - Toggle Block Selection (org.eclipse.ui.edit.text.toggleBlockSelectionMode) - Show Whitespace Characters (org.eclipse.ui.edit.text.toggleShowWhitespaceCharacters) Currently, the toggle actions don't show up in the toolbar when a Generic Editor is active. From a user perspective, it's very strange that these basic features are only available on some text editors, but not on others. It makes for a rather inconsistent UX. Generic Editor would be a great starting point to offer more consistency in this regards.
The necessary capabilities are all present in the Generic Editor, however the toolbar buttons are hidden by default. This seems to be caused by the "Editor Presentation" action set being disabled for the Generic Editor. In comparison, the basic Text Editor and the Java Editor both have that action set enabled by default. If I enable it manually via "Customize Perspective", the buttons show up as expected.
New Gerrit change created: https://git.eclipse.org/r/112903
Gerrit change https://git.eclipse.org/r/112903 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.text.git/commit/?id=8fded5a4a918f2993cbc344c94a3033e1abff0e8
Thanks a lot Carsten for this report/patch, and Andrey for the review/merge.