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,855
  • 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,887
  • 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,766
Author
vgmoose
Downloads
1,503
Views
3,758
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.
    K3Nv2 @ K3Nv2: I really don't want to buy this fap tab...