This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
billysback's profile picture

[PROGRAM] CCEdit - Advanced file editor!

Started by billysback, 13 November 2012 - 08:01 AM
billysback #1
Posted 13 November 2012 - 09:01 AM
CCEdit is aiming to be word for CC, as much as it can be (sortof)

It has limitless depth and width of a page, but when printing will automatically wrap the text and fit it in to pages…

Controls:
Spoilerarrow keys or clicking with the mouse to move your cursor
enter to enter a new line
type to enter characters
backspace to remove a character
left-control to quit
tab to tab the page, button above tab to un-tab it.
right-shift to enter "command" mode
right-control to open/close tab (click tab in top-left corner to open/tab aswell)
while menu is open click options to perform that task, or use command mode.
while in command mode type:
–c to copy
–v to paste
–p to print
–s to save
–l to load
–n to make new document
–y or u to undo

right-click with your mouse to make your selection between your cursor and the right-click pos
middle-mouse-button-click to clear your selection.

Download:
Spoilerhttp://pastebin.com/xbwJMnCy

Screenshots:
Spoiler

Any suggestions?
Thanks!
rhyleymaster #2
Posted 13 November 2012 - 09:39 AM
Nice :P/>/>
Shnupbups #3
Posted 13 November 2012 - 10:00 AM
When you backspace more times than there is characters that you've typed, it exits with:

CCedit:103: bad argument: string expected, got nil
And when you title a page with no contents, it exits with:

CCedit:372: Page not started

Time to edit someone else's program again…
billysback #4
Posted 13 November 2012 - 10:46 AM
Or, you know, get me to fix them… Like I just did -.-
Laserman34170 #5
Posted 13 November 2012 - 12:26 PM
automatically warp the text and fit it in to pages
Typo, I think you meant to say wrap, not warp.