This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#9362 - WPS Editor: Add linenumbers and highline line with error
Attached to Project:
Rockbox
Opened by Dominik Wenger (Domonoky) - Wednesday, 03 September 2008, 23:13 GMT+1
Last edited by Dominik Wenger (Domonoky) - Wednesday, 10 September 2008, 21:41 GMT+1
Opened by Dominik Wenger (Domonoky) - Wednesday, 03 September 2008, 23:13 GMT+1
Last edited by Dominik Wenger (Domonoky) - Wednesday, 10 September 2008, 21:41 GMT+1
|
DetailsThis 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, 21:41 GMT+1
Reason for closing: Accepted
Wednesday, 10 September 2008, 21:41 GMT+1
Reason for closing: Accepted
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
Clear error line after wps-text was modified.