Resource icon

vgedit - console text editor 2.0.1

2.0 Update!

This update allows vgedit to handle much larger files, adds line number and line-wrapping cursor fixes, usb keyboard support, undo/redo support, find in page, and other features/bugfixes.

This is a basic text editor for the Switch. It was designed to be controlled with either the touch screen or a controller.

Controls:
Pressing Plus will save the file, Minus will close it. Hitting A brings up the keyboard and B will be either delete or backspace depending on which mode you are in (when keyboard is up (insert mode), it's backspace, in the overview mode it's delete.

Other controls / functionality is listed on the screen while in editing view. Pressing L will bring up a find dialog, and ZL/ZR cycle through undo history.

Source code: https://github.com/vgmoose/vgedit


Screen Shot 2020-06-04 at 1.47.08 AM.png
Screen Shot 2020-06-04 at 1.44.19 AM.png
Screen Shot 2020-06-04 at 1.48.06 AM.png
Change log
New Features:
- Line numbers along left side
- Can load much larger text files
- Uses SDL_FontCache for improved performance
- New menu bar while editing file
- Find and jump to position within file
- Undo/redo history state tracking
- Create new file or folder while browsing
- USB Keyboard support
- Only in Insert mode (when on-screen keyboard is showing)
- Can press Alt to toggle on-screen keyboard

Bugfixes:
- Proper line wrapping for long lines
- Properly affix cursor within text file
- File/folder list is alphabetized now
- Better support for tabs within file
- Scroll to cursor position when typing
- Unsaved changes need confirmation when exiting
- Allow copy/paste between two files
  • Screen Shot 2020-06-04 at 1.44.19 AM.png
    Screen Shot 2020-06-04 at 1.44.19 AM.png
    90.9 KB · Views: 1,857
  • Screen Shot 2020-06-04 at 1.47.08 AM.png
    Screen Shot 2020-06-04 at 1.47.08 AM.png
    332.6 KB · Views: 1,890
  • Screen Shot 2020-06-04 at 1.48.06 AM.png
    Screen Shot 2020-06-04 at 1.48.06 AM.png
    157.1 KB · Views: 1,768
Author
vgmoose
Downloads
1,506
Views
3,780
First release
Last update
Rating
4.67 star(s) 3 ratings

Latest updates

  1. key repeat bugfix

    Small bugfix to not move the cursor while holding a directional button with the on-screen...
  2. Handle larger files, cursor fixes, usb keyboard support

    This update allows vgedit to handle much larger files, adds line number and cursor fixes, usb...

Latest reviews

Finally. Been waiting for this for ages. Thx!
Awesome addition to the scene.

One small recc would be to add a line break function however. You can space when editing text files, but unless i completely neglected to notice the function, there is no way to carriage return to next line, when finishing a previous line of code. Unless there is already an existing line on the text file to edit from.

Other than that, it functions perfectly. =D
even less SD removing ... great job..
General chit-chat
Help Users
  • No one is chatting at the moment.
  • realtimesave @ realtimesave:
    I tried to get a slim on a black friday once, but they ran out of stock for the $100 one
  • realtimesave @ realtimesave:
    many ages ago
  • BigOnYa @ BigOnYa:
    You can find them $50-75 nowdays if catch a deal
  • K3Nv2 @ K3Nv2:
    Still remember grabbing this ps4 slim on black Friday for $200 when the msrp was still around 300
    +1
  • BigOnYa @ BigOnYa:
    I went to auction at a mom/pops video game store few months ago that was closing, and bought 11 slims for $200, 1 was DOA but 10 work fine. so hella deal. Already rgh3'ed 8 of them. But most younger kids don't even want anymore, unless it plays stupid "fortnight", or newer shit.
  • K3Nv2 @ K3Nv2:
    Think I'm gonna use my giftcard balance on a nice pair of headphones but $100 is still limited
  • K3Nv2 @ K3Nv2:
    Soundcore q30s are nice but they leak so much sound it sounds like speakers
  • Psionic Roshambo @ Psionic Roshambo:
    Ken spend the 100 on a gun and skii mask, wait for a jogger at the park jewelry money and headphones!
    +1
  • K3Nv2 @ K3Nv2:
    If only Amazon sold guns
  • K3Nv2 @ K3Nv2:
    Fucking dick heads think it's a bad idea to get a gun 2 days later
  • BigOnYa @ BigOnYa:
    Wait, I thought you were the dickhe...nvm
  • K3Nv2 @ K3Nv2:
    I got balls on my chin and two dicks on my forehead sir
    +1
  • BigOnYa @ BigOnYa:
    Sorry, no offense there double dickhead chinballs.
  • K3Nv2 @ K3Nv2:
    Chicks still love it
    +1
  • BigOnYa @ BigOnYa:
    "Mommy, look, what is that?". "That's your soon to be daddy."
    +1
  • K3Nv2 @ K3Nv2:
    That you'll only see once
    +2
  • Veho @ Veho:
    Double dickhead chinballs is still better than double dickhead eyeballs.
  • Veho @ Veho:
    As in, the balls will grow in your eye sockets.
  • K3Nv2 @ K3Nv2:
    I paid 5 grand to get them moved to my chin
    +1
  • Veho @ Veho:
    This you?
  • K3Nv2 @ K3Nv2:
    My hair can't be that cool
    Sonic Angel Knight @ Sonic Angel Knight: JOE! :P