Commit Graph

23 Commits

Author SHA1 Message Date
rolanmen1 945c12eb13 LuaWriter. AutoCompleteView will change through selected items by pressing Up/Down while keeping focus of the textbox. This will work once a highlight issue get solved. 2012-08-09 21:53:49 +00:00
rolanmen1 4771ba0f15 LuaWriter. Pressing Enter when there's no if, while, for, etc.. will add the tabs that the previous line had. 2012-08-09 20:18:43 +00:00
rolanmen1 087947273c LuaWriterColorConfig. Added a panel to color Normal Text, also to put it bold.
LuaWriter. Added menu item that colors the background of the textbox. Added all the variables into Config.cs
2012-08-04 03:35:17 +00:00
rolanmen1 886ef5940a LuaWriter. Fixed small bug when editting a script from Lua Console, also from the Save and SaveAs options. Created a bool value that tells when the Text is being processed or not, since coloring triggers the TextChanged Event it will ProcessText multiple innecessary times. 2012-08-03 22:08:28 +00:00
rolanmen1 8d0f87e5d9 LuaWriter. Added new option "Start With Empty Script", wich triggers the option of having while true do emu.frameadvance() end when creating a new script. 2012-08-03 02:59:36 +00:00
rolanmen1 bc39f81b8a InputPrompt. I made the UserOK variable to change to false if the user clicks the Cancel button.
LuaWriter. Adding "end" after pressing Enter if the current line has "if", "for", etc. is now fixed. Also added some more edit menu items, like Undo, Redo, Cut, Copy, Paste, Select All, Search, Replace and Go To...

Search and Replace still need to be implemente. Implemente Go To, if the user inserts an invalid text (letters, symbols, etc) it will not close and prompt an error. Otherwise, it will go to the specified line.
2012-08-02 21:45:06 +00:00
jxq2000 2e41102f8a Initial code, which doesn't fully work, for positioning the AutoComplete box.
Also moved over the "zoom" label so it doesn't clash with the position label.
2012-08-02 01:07:04 +00:00
adelikat 5a28f54454 On behalf of Rolanmen: LuaWriter. Added Restore Settings item, when closing, it will save the Zoom Value in Config.cs
LuaWriterColorConfig. Fixed little bug that didn't colored the Library panel. Also made each Color Dialog select it's default color.
2012-08-01 02:56:38 +00:00
adelikat ad0c7d863c LuaWriter. Added a Zoom label, it is updated when you zoom in/out using Ctrl + MouseWheel 2012-07-27 23:33:05 +00:00
adelikat bbbc51ecf8 Lua Writer - save font and font size to config (todo: font style), hook up exit button 2012-07-27 00:15:02 +00:00
adelikat dcc841fe3b Lua Writer - reset zoom factor, and resize dialog to something more reasonable 2012-07-26 02:22:56 +00:00
adelikat f93be79a47 LuaConsole: Hides and Disables the new script button on debug mode.
LuaWriter: Automatically adds "end" after pressing enter when if the line has "if", "for", "while", or "function". Even though, it creates a new line before the statement
2012-07-25 22:53:11 +00:00
adelikat 817b202192 On Behalf of Rolanmen - LuaWriter. Now Colors Lua Library Words. 2012-07-24 03:35:28 +00:00
adelikat 8b06a39ef9 Lua Text - start a very rough auto-complete box 2012-07-23 02:24:48 +00:00
adelikat 6379aafbae Lua Writer - start syntax color config dialog and font config, neither do anything yet 2012-07-23 01:32:41 +00:00
adelikat 973aa8f9ae Lua Writer - better color of library names, anchoring 2012-07-23 01:10:31 +00:00
adelikat 09fb9c88f4 Lua Writer - implement saving and fix so that the text only redraws when it needs to. 2012-07-22 22:24:02 +00:00
adelikat 75bed1f242 Lua Console - open selected file in lua writer dialog, implement drag & drop on lua writer (but fails because it doesn't allow drop on the edit box itself) 2012-07-22 20:25:53 +00:00
adelikat e56de584e3 Lua Writer - faster drawing 2012-07-22 19:54:40 +00:00
rolanmen1 21344b7bc4 LuaWriter. Re-structured coloring Strings. 2012-07-22 04:22:18 +00:00
rolanmen1 9bca1b198d LuaWriter. Fixed error that prevented coloring multiple strings in the text. Also made that Reserved Words will only color if there are no letters or numbers next to them. 2012-07-20 22:50:28 +00:00
adelikat 7cb69f4826 Hook up LuaWriter to a new & hacky toolstrip icon for now 2012-07-19 04:19:24 +00:00
adelikat fb841bc764 check in luawriter winform files, needs to be hooked up 2012-07-19 00:19:47 +00:00