• 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
Attached to Project: Rockbox
Opened by Domonoky - 2008-09-03
Last edited by Domonoky - 2008-09-10

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.

Closed by  Domonoky
2008-09-10 19:41
Reason for closing:  Accepted

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?

I've attached a patch

krz commented on 2008-09-04 20:06

Scrolling to line added.
Clear error line after wps-text was modified.


Available keyboard shortcuts


Task Details

Task Editing