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,889
  • 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,767
Author
vgmoose
Downloads
1,506
Views
3,771
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:
    Thanks for signing up at LinusTechTips
  • QuarterCut @ QuarterCut:
    holey shmoley!
  • BigOnYa @ BigOnYa:
    Your credit card has been charged. Thank you.
  • K3Nv2 @ K3Nv2:
    Your screwdriverPlus will arrive in three weeks
    +1
  • QuarterCut @ QuarterCut:
    K64_Waddle_Dee_Artwork_1.jpg

    my reaction to such information
    +2
  • BigOnYa @ BigOnYa:
    Press 1 for English. Press 2 for Pig Latin. Or press 3 to speak to a representative.
  • BakerMan @ BakerMan:
    guys, i need help, i got into an argument about what genre radioactive is, and i forgot who made it
  • Sicklyboy @ Sicklyboy:
    @BakerMan, Imagine Dragons
  • Sicklyboy @ Sicklyboy:
    Dragon deez nuts across yo face GOTEEM
  • Sicklyboy @ Sicklyboy:
    lmao now I realize that was probably the joke in the first place
    +1
  • BakerMan @ BakerMan:
    IMAGINE DRAGON DEEZ NUTS ACROSS YO- FUCK HE BEAT ME TO IT
  • BigOnYa @ BigOnYa:
    You have selected 4 - Death by Snu Snu, please stand by...
    +1
  • BakerMan @ BakerMan:
    lucky bastard
    +1
  • Sicklyboy @ Sicklyboy:
    hahahaha I'm half way through a bag off my Volcano and my tolerance is way down because I haven't been smoking much lately, so I was a little slow to catch that that was what your angle was 🤣🤣
    +1
  • Sicklyboy @ Sicklyboy:
    Also I was just excited to know a music reference for once (I am the LAST person in the world that you want on your trivia team)
    +2
  • K3Nv2 @ K3Nv2:
    Bummer webos 7.4 isnt working with dejavuln-autoroot
  • Sicklyboy @ Sicklyboy:
    PS4 right? I think that's what mine's on. Or 5.6, maybe.
  • K3Nv2 @ K3Nv2:
    [!] Installation failed (devmode_enabled not recognized)
  • K3Nv2 @ K3Nv2:
    0.5 seemed to work whatever lol i wont bitch
  • Alysh_Graham @ Alysh_Graham:
    Hehehe
    Alysh_Graham @ Alysh_Graham: Hehehe