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,859
  • 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,891
  • 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,770
Author
vgmoose
Downloads
1,512
Views
3,802
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:
    why
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, it's not funny
  • K3Nv2 @ K3Nv2:
    ok
  • BigOnYa @ BigOnYa:
    Wut?
  • K3Nv2 @ K3Nv2:
    That's not funny
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    So two cannibals where eating a clown and one says to the other. Hey does this taste funny to you?
    +2
  • K3Nv2 @ K3Nv2:
    What do you call a slow car? Retired
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Did you hear about the police car that someone stole the wheels off of? The police are working tirelessly to find the thieves.
    +2
  • K3Nv2 @ K3Nv2:
    A firefighter got arrested for assault his main claim was what I was told he was on fire
    +2
  • BigOnYa @ BigOnYa:
    What do you call a hooker with a runny nose? Full
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    What do you tell a woman with two black eyes? Nothing you already told her twice!
  • K3Nv2 @ K3Nv2:
    Diddy also works
  • K3Nv2 @ K3Nv2:
    A scientist heard the word batman so he put a naked lady in a cage with a bat
  • Psionic Roshambo @ Psionic Roshambo:
    Chuck Norris won a staring contest, with the sun.
  • K3Nv2 @ K3Nv2:
    A vampires favorite thing to do is moon you
  • BigOnYa @ BigOnYa:
    What's the difference between an airplane, and Ken's mom? Not everyone has been in an airplane.
  • K3Nv2 @ K3Nv2:
    What's the difference between @BigOnYa and his wife? Nothing both want to bone me
    +3
  • RedColoredStars @ RedColoredStars:
    How much wood could a wood chuck chuck if a wood chuck could chuck norris
    +1
  • BakerMan @ BakerMan:
    how do i know? you're a guy, and he wants to bone every guy on this site (maybe, idk)
    +1
  • K3Nv2 @ K3Nv2:
    He wants to bone anything with a dick
    +1
  • Xdqwerty @ Xdqwerty:
    Good night
    +1
  • BigOnYa @ BigOnYa:
    Nighty night, big day tomorrow. Congrats.
    K3Nv2 @ K3Nv2: https://www.instagram.com/reel/C7iLZ35NrQt/?igsh=MWd2Z3U0dmNlMmNxcw==