Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  Want the Text editor redone for Clip Zip
« previous next »
  • Print
Pages: [1]

Author Topic: Want the Text editor redone for Clip Zip  (Read 1305 times)

Offline mrrhq

  • Member
  • *
  • Posts: 2
Want the Text editor redone for Clip Zip
« on: March 05, 2012, 02:57:28 PM »
Hello. The text editor plugin for the Clip Zip needs work.

It looks like it was sloppily ported over from the Clip+ plugin's database to the Clip Zip. There is so much wasted space in the second and fourth row that there are literally just about 90% space (0x0020) characters.

I'm not saying port Vim over to Rockbox, but I really want a more efficient layout for the Zip's bigger screen.

I was going to sign up for the rockbox-dev list, but I haven't set up mutt yet ever since I moved away from Claws Mail (but I still use it sometimes). And I really am not a "hardcore" developer, nor do I have enough free time because of college starting up. And I'm already planning on entering the Pandora Rebirth competition.

Anyways, I already have a planned layout. Again, I wish I could post this on the mail archive, but my offline mail client is not working right now.

Here's what I had in mind:
16x16 grid/character screen (Clip Zip)
+----------------+
|ABCDEFGHIJKLM123|
|NOPQRSTUVWXYZ456|
|abcdefghijklm789|
|nopqrstuvwxyz#0\t|
|!@$%^&*()[]{}-+=|
|/\_'"~`,.><?:;\d\s|
|////DEADZONE////|
|////DEADZONE////|
+----------------+
Remainder: Drawing area.

\t, \d and \s are Tab, Delete and Space respectively.

There should be two layout modes: Optimized and Full layout.

Optimized layout is the setup I have above. And full layout can work like this:
Since the character selection area will be 16x8 (16x6 plus the "deadzone", which is 2x16) and since 16x8 = 128 which is half of 256, there could be two pages of characters when the cursor scrolls on the edge (left, right, up or down), so those two pages will hold 256 characters total. Got it? Got it.

Similar to office editing utilities and NP++, there should also be a "Show All" mode in an options menu that will show spaces, tabs, newlines and basically any white space characters to show up as readable characters for reference (unless a specific editing mode is used in Rockbox's text editor that automatically removes trailing white space).

And finally, the end of the document should have blue colored tilde's on each line similar to Vim.
I think I covered everything I wanted. I really hope something like this get's ported the the Zip! It shouldn't be impossibly hard to change the layout, hopefully.

Bonus points for syntax highlighting.
« Last Edit: March 05, 2012, 03:26:05 PM by mrrhq »
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Want the Text editor redone for Clip Zip
« Reply #1 on: March 05, 2012, 03:01:55 PM »
Quote from: mrrhq on March 05, 2012, 02:57:28 PM
It looks like it was sloppily ported over from the Clip+ plugin's database to the Clip Zip. There is so much wasted space in the second and fourth row that there are literally just about 90% space (0x0020) characters.

Yes, most of the plugins haven't yet been ported to the Zip.  Since it uses a different screen size then any existing target, its a fair amount of work.

Quote from: mrrhq on March 05, 2012, 02:57:28 PM
I was going to sign up for the rockbox-dev list, but I haven't set up mutt yet ever since I moved away from Claws Mail (but I still use it sometimes). And I really am not a "hardcore" developer, nor do I have enough free time because of college starting up. And I'm already planning on entering the Pandora Rebirth competition.

When you get time you can post code directly to our gerrit tracker for review. 
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  Want the Text editor redone for Clip Zip
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.074 seconds with 17 queries.