Jump to content




Nevardon Editor [0.5.4]

lua utility computer

38 replies to this topic

#1 Quintuple Agent

  • Members
  • 107 posts
  • LocationThis page

Posted 03 March 2015 - 03:09 AM

Nevardon IDE

(Since this will most likely never be done)

V0.5.4

Posted Image

Screen Shots

Spoiler

Nevardon IDE, because I had no idea of the existence of LuaIDE until I had like 3/4 of the code of version 0.1 already done!

Anyways, This started out as making an editor based on some of the functions and features of notepad++.
Right now it only has support for advanced computers, And while it should work on a pocket pc, the menu down at the bottom will not fit.

Pastebin: 5CpA2rrQ
Woo, Reached the 0.5 mark (that means I am halfway to never getting it done!)

Now, What it does have so far
Features
  • Editing (I would hope)
  • Create/Open/Save Files
  • Cut/Copy/Paste/Delete lines
  • Cut/Copy/Paste/Delete multiple lines a once
  • Goto Line
  • Syntax Highlighting of
    • Lua functions (print,write,pairs)
    • Instructors (if, then, local, function)
    • CC functions/Apis (peripheral,window.create.os.pullEvent)
  • Highlighting (drag the mouse to highlight parts of a line / multiple lines and cut/copy/delete that way)
  • Error Checking (Press Ctrl+E to show errors and turn line number red, does not automatically update)
  • Settings such as scroll speed, syntax highlighting toggle, show line numbers
  • Keeping tabs when creating new lines
  • Support for Home, End, Delete, Page Up, and Page Down keys
Future Plans
  • Help (User can right-click on a highlighted function and have information about that function displayed)
    • Functionality is added, however still need to add help messages for most functions
    • Create new type of popup to appear for help messages
    • Have other look over help messages and examples, because Dunning-Kruger
  • Multiple files loaded / Tabs
  • New type of popup for opening files
  • Undo/Redo
  • Find & Replace (Find has been added but I still need to work on better popup positioning)
  • Better auto indenting (add functions, brackets, parenthesis)
    • Also remove indents if you type a word that would normally suggest a removal of an indent (such as else, elseif, end)
  • Autosave/Backup
  • Cosmetic settings (such as where/how line numbers are displayed, themes)
  • Change color of text highlighting in the settings menu
  • Settings such as Scroll Speed, What types of functions are highlighted, User created languages
  • Increase efficiency.
Known Bugs Bonus features
  • V0.1.0+
    • Multiline comments/strings don't render properly if the start of it is offscreen
Updates
Spoiler

Shortcut keys (Ctrl+):
Spoiler

Any Ideas, concerns, feedback would be nice
Please report any errors you run across


Edited by Quintuple Agent, 30 March 2015 - 05:01 AM.


#2 oeed

    Oversimplifier

  • Members
  • 2,095 posts
  • LocationAuckland, New Zealand

Posted 03 March 2015 - 07:04 AM

Wow, this looks really cool.

I love the colouring of the text colour strings.

#3 Dahknee

  • Members
  • 1,808 posts
  • Location/home/da

Posted 03 March 2015 - 04:01 PM

This is awesome, I like so much about this, will give it a real test later, thanks!

would you mind uploading to my store? (not self-promoting, it's just easier for my sister to download it and use it and it helps me ;) thanks!

#4 Quintuple Agent

  • Members
  • 107 posts
  • LocationThis page

Posted 03 March 2015 - 05:30 PM

View Postoeed, on 03 March 2015 - 07:04 AM, said:

Wow, this looks really cool.

I love the colouring of the text colour strings.
Thank you! :D

View PostDannySMc, on 03 March 2015 - 04:01 PM, said:

This is awesome, I like so much about this, will give it a real test later, thanks!

would you mind uploading to my store? (not self-promoting, it's just easier for my sister to download it and use it and it helps me ;) thanks!
and Thank you! :D
I see you going around asking everyone to put stuff on the store.
I will see what I can do.

#5 Dahknee

  • Members
  • 1,808 posts
  • Location/home/da

Posted 03 March 2015 - 05:46 PM

View PostQuintuple Agent, on 03 March 2015 - 05:30 PM, said:

View Postoeed, on 03 March 2015 - 07:04 AM, said:

Wow, this looks really cool.

I love the colouring of the text colour strings.
Thank you! :D

View PostDannySMc, on 03 March 2015 - 04:01 PM, said:

This is awesome, I like so much about this, will give it a real test later, thanks!

would you mind uploading to my store? (not self-promoting, it's just easier for my sister to download it and use it and it helps me ;) thanks!
and Thank you! :D
I see you going around asking everyone to put stuff on the store.
I will see what I can do.

Yeah I am asking everyone as I need to test page limits and I really would rather not insert loads of fake data :P and to be honest my sister uses the app store to download programs so she can use them, so it helps her as well :P

Edited by DannySMc, 03 March 2015 - 05:46 PM.


#6 Quintuple Agent

  • Members
  • 107 posts
  • LocationThis page

Posted 03 March 2015 - 06:01 PM

View PostDannySMc, on 03 March 2015 - 05:46 PM, said:

Yeah I am asking everyone as I need to test page limits and I really would rather not insert loads of fake data :P and to be honest my sister uses the app store to download programs so she can use them, so it helps her as well :P
Well, it is uploaded now. I don't know if I will remember to update it on the store every time I update it here, but I will try to remember. It would be nice if you could use pastebin links instead of the file to be uploaded
Edit: Also needs to be able to update the description :(

Edited by Quintuple Agent, 03 March 2015 - 06:02 PM.


#7 InDieTasten

  • Members
  • 357 posts
  • LocationGermany

Posted 03 March 2015 - 07:19 PM

+1 for usefulness and prettyness <3

#8 Dahknee

  • Members
  • 1,808 posts
  • Location/home/da

Posted 03 March 2015 - 07:27 PM

View PostQuintuple Agent, on 03 March 2015 - 06:01 PM, said:

View PostDannySMc, on 03 March 2015 - 05:46 PM, said:

Yeah I am asking everyone as I need to test page limits and I really would rather not insert loads of fake data :P and to be honest my sister uses the app store to download programs so she can use them, so it helps her as well :P
Well, it is uploaded now. I don't know if I will remember to update it on the store every time I update it here, but I will try to remember. It would be nice if you could use pastebin links instead of the file to be uploaded
Edit: Also needs to be able to update the description :(

Yeah I can add them :D


#9 cdel

  • Banned
  • 496 posts
  • LocationMelbourne, Australia

Posted 04 March 2015 - 06:25 AM

Love the name and colouring :D

#10 Creator

    Mad Dash Victor

  • Members
  • 2,168 posts
  • LocationYou will never find me, muhahahahahaha

Posted 04 March 2015 - 10:26 PM

Wow, this is such wow, much cool

#11 Geforce Fan

  • Members
  • 846 posts
  • LocationMissouri, United States, America, Earth, Solar System, Milky Way, Universe 42B, Life Street, Multiverse, 4th Dimension

Posted 04 March 2015 - 11:10 PM

Sounds like it's better than LuaIDE. Will test, I can't right now because I'm on my laptop, and I don't have modded MC installed.
I'm not sure if I'll survive the journey up the stairs...

#12 Dahknee

  • Members
  • 1,808 posts
  • Location/home/da

Posted 04 March 2015 - 11:27 PM

View PostGeforce Fan, on 04 March 2015 - 11:10 PM, said:

Sounds like it's better than LuaIDE. Will test, I can't right now because I'm on my laptop, and I don't have modded MC installed.
I'm not sure if I'll survive the journey up the stairs...

Use a computercraft emulator? I don't think I have used computercraft for minecraft in ages now :P

#13 Quintuple Agent

  • Members
  • 107 posts
  • LocationThis page

Posted 04 March 2015 - 11:48 PM

View PostDannySMc, on 04 March 2015 - 11:27 PM, said:

View PostGeforce Fan, on 04 March 2015 - 11:10 PM, said:

Sounds like it's better than LuaIDE. Will test, I can't right now because I'm on my laptop, and I don't have modded MC installed.
I'm not sure if I'll survive the journey up the stairs...

Use a computercraft emulator? I don't think I have used computercraft for minecraft in ages now :P

Don't tell him to use a CC emulator, He despises them :P

Edited by Quintuple Agent, 04 March 2015 - 11:52 PM.


#14 LDDestroier

  • Members
  • 1,095 posts
  • LocationACDC Town

Posted 05 March 2015 - 12:06 AM

Flippin' cool! However I got an error, and it told me to tell you.

Cause: with the mouse, selecting the region of the screen where there aren't yet lines
Error:
nevardon:698: attempt to index a nil value

I was using cclite on Lubuntu 14.04.2, not actual minecraft. If you make this for normal computer (press control instead of clicking on menus, like 'edit'), then you would have the perfect cc editor!

I was trying to find the actual cause of the error, and after many edits, found this to be the cause.

Edited by LDDestroier, 05 March 2015 - 12:18 AM.


#15 Quintuple Agent

  • Members
  • 107 posts
  • LocationThis page

Posted 05 March 2015 - 12:13 AM

Ok, I was about to say that I tested it it both minecraft and on CCEmuRedux and did not get that error, but good to hear it is not happening anymore.
Also view the debug list when an error pops up. It helps greatly, especially if it has to do with highlighting, it's whole reason I added that button in the first place.

View PostLDDestroier, on 05 March 2015 - 12:06 AM, said:

Flippin' cool!
Thank you :D

View PostLDDestroier, on 05 March 2015 - 12:06 AM, said:

EDIT EDIT: found out more of the error! You can not select text with the mouse if the amount of lines does not scroll (exceed the screen size)

Ah, Must have forgot to have an if statement if the line is nil, I will try to fix that right away.

Edited by Quintuple Agent, 05 March 2015 - 12:15 AM.


#16 LDDestroier

  • Members
  • 1,095 posts
  • LocationACDC Town

Posted 05 March 2015 - 12:22 AM

New error.

Cause: selecting and deleting text that does not fit into the screen (selection scrolls offscreen)
Error:
nevardon:1487: attempt to index a nil value


#17 Quintuple Agent

  • Members
  • 107 posts
  • LocationThis page

Posted 05 March 2015 - 12:31 AM

Fixed!
Also, while I was trying to fix it and kept getting the error, It took me 10 minutes to realize I was editing the backup copy. So, yah, that happened.

View PostLDDestroier, on 05 March 2015 - 12:22 AM, said:

New error.

Cause: selecting and deleting text that does not fit into the screen (selection scrolls offscreen)
Error:
nevardon:1487: attempt to index a nil value
I believe my patch should have fixed that too.

Edited by Quintuple Agent, 05 March 2015 - 12:33 AM.


#18 LDDestroier

  • Members
  • 1,095 posts
  • LocationACDC Town

Posted 05 March 2015 - 12:43 AM

You should put this on oeed's appstore! This looks really nice!

EDIT: Think I found another graphical, non-crashing bug.
If you delete a selection that is partially offscreen, then the lines that were deleted still exist (it still says [7 ] or [8 ] {line numbers}) and the selection that was deleted still shows as being selected, even though those lines are deleted.

Yeah, it's kinda confusing with line numbers still showing up for lines that had been deleted.

EDIT EDIT: Please add an exit button where it says what you want to save the file as. Also, allow the use of command line arguments for names, which would skip the menu.

Edited by LDDestroier, 05 March 2015 - 12:52 AM.


#19 Quintuple Agent

  • Members
  • 107 posts
  • LocationThis page

Posted 05 March 2015 - 12:47 AM

Hmm, well Danny already had upload to his. The only real problem I have with appstores are that I am kinda forgetful and don't upload them whenever I update.
Speaking of that, I think danny's appstore only has like v0.3 of Nevardon. :P

Edited by Quintuple Agent, 05 March 2015 - 12:48 AM.


#20 Quintuple Agent

  • Members
  • 107 posts
  • LocationThis page

Posted 05 March 2015 - 12:53 AM

View PostLDDestroier, on 05 March 2015 - 12:43 AM, said:

If you delete a selection that is partially offscreen, then the lines that were deleted still exist (it still says [7 ] or [8 ] {line numbers}) and the selection that was deleted still shows as being selected, even though those lines are deleted.

Yeah, it's kinda confusing with line numbers still showing up for lines that had been deleted.

Yah, I have been thinking of a way to fix that without doing a full redraw, since that can cause flickering. It has not been that high on the priority list since after you get about 10 lines in it does not matter.

Should have put in the "Extra Features" list.\

Edit: Fixed!

Edited by Quintuple Agent, 05 March 2015 - 01:02 AM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users