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,861
  • 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,893
  • 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,773
Author
vgmoose
Downloads
1,514
Views
3,821
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
  • K3Nv2 @ K3Nv2:
    If they enable stealth online like the good old jtag days that'll be different
  • K3Nv2 @ K3Nv2:
    #BringBackGodModeOnline
  • BigOnYa @ BigOnYa:
    #makekensmomwashdatass
  • SylverReZ @ SylverReZ:
    #MakeDaTempGreatAgain
    +1
  • K3Nv2 @ K3Nv2:
    My feelings
  • BigOnYa @ BigOnYa:
    I'm sorry, i feel bad now.
  • BigOnYa @ BigOnYa:
    Yo momma is just fine as she is.
  • K3Nv2 @ K3Nv2:
    I really don't
  • K3Nv2 @ K3Nv2:
    Can't we just go back to waking each other's dicks again
  • BigOnYa @ BigOnYa:
    No! We said we' d never mention that agai...no I mean what are you talking about, thats ridiculous
  • K3Nv2 @ K3Nv2:
    We can hug and make up which part of your body would you like kissed sir
  • BigOnYa @ BigOnYa:
    I just wanna spoon and...no I'm not falling for your tricks anymore, I've moved on.
  • K3Nv2 @ K3Nv2:
    Yes I know about your deep love you have for @SylverReZ but I was your first
  • K3Nv2 @ K3Nv2:
    That could've been polly thinking about it
  • BigOnYa @ BigOnYa:
    Its not your baby, no matter how much you what it to be, we were separated at that time.
  • BigOnYa @ BigOnYa:
    We sound like Mexican soap operas
  • BigOnYa @ BigOnYa:
    I miss polly, he took alot shit but was fun messing with him
  • K3Nv2 @ K3Nv2:
    That's why I don't get too involved in the forums I don't want my name all over the damn place but I do feel like I had a doing in the Leo and Luke love battle lol
    +1
  • BigOnYa @ BigOnYa:
    I think the cross gen console thing has killed playing cod, bf, pubg on consoles. Cheaters on pc has made them horrible to play on consoles.
  • K3Nv2 @ K3Nv2:
    That's why they dump millions into security now I remember getting all my cod shit unlocked in one match was fun
  • K3Nv2 @ K3Nv2:
    An option to just play with console players may reduce latency even
  • BigOnYa @ BigOnYa:
    Aaawww (points finger)
  • K3Nv2 @ K3Nv2:
    Wut
  • BigOnYa @ BigOnYa:
    Yea they should separate to each, (I know already you gonna say dats rasist)
  • K3Nv2 @ K3Nv2:
    No like if you're on Xbox like a toggle switch that says Xbox players only
    K3Nv2 @ K3Nv2: No like if you're on Xbox like a toggle switch that says Xbox players only