- Status Closed
- Percent Complete
- Task Type Patches
- Category User Interface → Themes
- Assigned To No-one
- Operating System All players
- Severity Low
- Priority Very Low
- Reported Version Daily build (which?)
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#9362 - WPS Editor: Add linenumbers and highline line with error
This patch changes the WPS code view of the WPS Editor.
I used Code from KDE Libs and simplified it for use with this.
Now the WPS Editor shows Line numbers for the WPS, and it highlights the line where it finds an error.
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
Very nice!
I was going to implement the line numbering myself, but couldn't find a good example implementation..
One thing though, perhaps the highlighted error should be in redish, so it's more visible.
And perhaps you can get the widget to scroll to the appropriate line number?
edit:
I've attached a patch
Scrolling to line added.
Clear error line after wps-text was modified.