Rockbox

Tasklist

FS#9362 - WPS Editor: Add linenumbers and highline line with error

Attached to Project: Rockbox
Opened by Dominik Wenger (Domonoky) - Wednesday, 03 September 2008, 21:13 GMT
Last edited by Dominik Wenger (Domonoky) - Wednesday, 10 September 2008, 19:41 GMT
Task Type Patches
Category Themes
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

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.

This task depends upon

Closed by  Dominik Wenger (Domonoky)
Wednesday, 10 September 2008, 19:41 GMT
Reason for closing:  Accepted
Comment by Maurus Cuelenaere (mcuelenaere) - Thursday, 04 September 2008, 12:28 GMT
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
Comment by krz (krz) - Thursday, 04 September 2008, 20:06 GMT
Scrolling to line added.
Clear error line after wps-text was modified.

Loading...