| Summary: | new command "wrapped line end" | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | thomas menzel <tmenzel> | ||||
| Component: | Mylyn | Assignee: | David Green <greensopinion> | ||||
| Status: | RESOLVED WONTFIX | QA Contact: | |||||
| Severity: | enhancement | ||||||
| Priority: | P3 | CC: | daniel_megert, pwebster | ||||
| Version: | unspecified | Keywords: | helpwanted | ||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
thomas menzel
IMO instead of creating a new command i think it shouldn't be too problematic to actually change the behavior of the 'line end' (which by default is bound to the END key on windows) to jump to end of the line where it wraps visibly to the next line, whether there be an EOL or not. this is how most editors work on windows (cant think of any that go to EOL) and i guess the expected behavior. i guess this enhancement hasnt been requested before since eclipse is an IDE and a line here is relativly short and there is little using of the autowrap feature (cant even find that setting to turn that on in normal editors...). cheers Thanks for the feature request! (In reply to comment #1) > IMO instead of creating a new command i think it shouldn't be too problematic > to actually change the behavior of the 'line end' (which by default is bound to > the END key on windows) to jump to end of the line where it wraps visibly to > the next line, whether there be an EOL or not. I agree that it wouldn't be hard, however I am reluctant to change default platform behaviour in this case, since others may be using this function and expect it to behave consistently with other Eclipse editors. That said, Eclipse is wonderfully configurable, so a new command could easily have the same keybindings as the existing command if you choose to set it up in your workspace preferences. Please feel free to make a contribution in the form of a patch that adds a new command. maybe such a platform wide change (new command or chnaging the current impl) should be discussed with the SWT people? or rather move this bug to their inbox? what do u think? (In reply to comment #3) > or rather move this bug to their inbox? Yes, it seems to me that this feature is more platform-related than WikiText. For your reference, the 'Line End' command is implemented by org.eclipse.ui.texteditor.AbstractTextEditor.LineEndAction Moving to Platform UI. Created attachment 149884 [details]
mylyn/context/zip
There's currently no word wrap support for textual editors and hence we won't change the line end action. Since Mylyn introduces word wrap it also has to handle this particular request. (In reply to comment #6) > There's currently no word wrap support for textual editors and hence we won't > change the line end action. Since Mylyn introduces word wrap it also has to > handle this particular request. sorry to barge in on this, but shall i understand this comment such,that Mylyn should only do this in its own realm, i.e. in the wiki text bundle? IMO, line wrapping is a platform thing - if not SWT (or should be ) - and hence should provide the support for this b/c i bet there might be other consumers of such a feature. if this comment is only in regard who shall impl. this, i have nothing to say about this, except should this issue then be really in the Mylyn project? > i understand this comment such,that Mylyn
>should only do this in its own realm, i.e. in the wiki text bundle?
Well understood. Since the wiki editor decided to run ahead of what exists in the Platform it also has to deal with such requests.
Closed as part of backlog clean-up. Please re-open if you'd like to see this revisited, perhaps with a contribution. |