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

[Suggestion] Improve The Editor

Started by Amunak, 27 February 2012 - 07:38 PM
Amunak #1
Posted 27 February 2012 - 08:38 PM
I really miss those features in the default editor in CC (the edit command):
  • "save as" which allows saving file with a different filename
  • end, home (and maybe page up/page down) keys behaving properly (move to the start or end of line, respectively)
  • delete key working
  • also if it is possible, when you have cursor at some position in a longer line near end, when you jump two lines (to another long line over a short line) you lose the cursor position from the first line - it's on the position of the end of the shorter line
I hope I explained it clearly. What do you think?
Liraal #2
Posted 27 February 2012 - 08:47 PM
Well, im working on it:D But it'll be custom OS nonetheless. Try RedWorks with RedWord editor though.

I don't think those features are likely to be added to default OS. It's just basics.
Amunak #3
Posted 27 February 2012 - 09:09 PM
Well, im working on it:D But it'll be custom OS nonetheless. Try RedWorks with RedWord editor though.

I don't think those features are likely to be added to default OS. It's just basics.
I know, but even basics can be complex and intelligent - let's inspire by unix, not by windows. Do you know nano or vi? Those are "basic editors". Microsofts' Notepad it also "basic". :P/>/>

Just trying to say that basic doesn't have to mean bad.
Liraal #4
Posted 27 February 2012 - 09:14 PM
I know, but if you make everything good by default, there's no need for any user-made programs. Leave some room for creativity, I say.
FuzzyPurp #5
Posted 28 February 2012 - 03:52 AM
I really miss those features in the default editor in CC (the edit command):
  • "save as" which allows saving file with a different filename
  • end, home (and maybe page up/page down) keys behaving properly (move to the start or end of line, respectively)
  • delete key working
  • also if it is possible, when you have cursor at some position in a longer line near end, when you jump two lines (to another long line over a short line) you lose the cursor position from the first line - it's on the position of the end of the shorter line
I hope I explained it clearly. What do you think?

Wish Granted: Improved Edit

I know, but if you make everything good by default, there's no need for any user-made programs. Leave some room for creativity, I say.

Such as the example above <_</>/>
Luanub #6
Posted 28 February 2012 - 04:18 AM
a working copy of vi has also been programmed and is available to use..

http://www.computercraft.info/forums2/index.php?/topic/76-121-computerpark-api-101-vi-text-editor-10/