Commit Graph

684 Commits

Author SHA1 Message Date
rolanmen1 6cec0f0182 LuaConsole: Call UpdateNumberOfScripts after you delete a script.
LuaImplementation: Added emu.ispaused(), also added the parameters width and height to forms.label and forms.button
2012-08-25 17:01:13 +00:00
rolanmen1 8f22c9098b LuaConsole: The Label that counts the scripts gets updated each time a change has been made to the ListView, also removed all calls of the said function. 2012-08-25 12:17:44 +00:00
adelikat 694f2aaae6 Ram Search - very slight optimization 2012-08-20 00:22:57 +00:00
adelikat 43518a3a57 TAStudio - add hotkeys for Clear and Insert # Frames 2012-08-18 00:09:00 +00:00
adelikat 514c3200d7 remove more tastudio instances in movie class, TAStudio - re-hook up double click event 2012-08-18 00:04:12 +00:00
adelikat c9ddbd6d89 TAStudio - implement Cut function, fixes to insert, and delete, minor cleanup of movie object 2012-08-17 23:56:37 +00:00
adelikat 37f5027de6 TAStudio - implement copy function, and slicer section 2012-08-17 23:27:29 +00:00
adelikat 952892b5df TAStudio - implement Truncate Movie 2012-08-17 03:24:33 +00:00
adelikat 862caafd05 TAStudio - implement Insert # Frames, and Select All, hide context menu items based on read-only status 2012-08-17 03:04:35 +00:00
adelikat d7e05ceb32 TAStudio - implement clear frame, pause emulator on TAStudio load 2012-08-17 02:26:47 +00:00
adelikat 9baf1b8f28 TAStudio - implement clone frame feature, and some UI and Movie object cleanup 2012-08-17 02:18:25 +00:00
adelikat e900a5b1ba TAStudio - fix up Insert Frame functionality, add it to non-interim builds, and map hotkey as ctrl+shift+ins 2012-08-17 01:26:00 +00:00
adelikat 932303df68 TAStudio - hook up Ctrl+Mousewheel to frame advance and rewind events. TODO: Figure out how to (also) add right-click + mousewheel 2012-08-17 01:01:46 +00:00
adelikat 99f073266d Ram Watch - fix bug where values are not updating after a power cycle/rom load/movie load 2012-08-15 01:35:17 +00:00
adelikat 0ed2ec1be9 Ram Watch - oops, fixed last commit better 2012-08-15 01:14:25 +00:00
adelikat 3e3b154895 Ram Watch - fix endless exceptions when loading different ram watch files 2012-08-15 00:56:34 +00:00
rolanmen1 e2469328ae LuaWriter. Color numbers, need to make it color hexadecimals aswell. 2012-08-12 07:06:38 +00:00
adelikat f84a3709c9 Misc code cleanup 2012-08-12 01:09:30 +00:00
rolanmen1 c5577b7850 LuaWriter. I finally finished coloring Strings and Comments correctly. 2012-08-11 05:15:56 +00:00
adelikat 9cb825418f Lua Writer - take over paint event and only paint once per ProcessText(). Still todo: better management of when and what to draw 2012-08-11 01:50:27 +00:00
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
jxq2000 2fc36dca9b Revert previous commit related to updating colors/format of only one line at a time since that won't catch multi-line strings or comments. 2012-08-08 21:33:24 +00:00
jxq2000 5770931669 Some work in ProcessText to try and alleviate the "OMG WE ARE ALWAYS SCROLLING" problem when typing.
Still needs some work (so no functional change yet), but the initial idea is to allow for checking/updating of only the current row when called from timer_Tick.
2012-08-06 23:19:05 +00:00
jxq2000 759bd52f6d Some progress made on positioning of the autocomplete box. 2012-08-06 22:52:55 +00:00
rolanmen1 05b107ed49 LuaWriter. Made ColorComments, ColorStrings and ColorLongStrings (wich is now called AddComments, AddStrings and AddLongStrings respectively) will no longer search symbols in the textbox, instead on a copy of it that is saved in a string variable. 2012-08-06 08:18:50 +00:00
rolanmen1 38723f8786 LuaWriter. This is half of a lot of changes im making.
1)Made a list of int arrays, these will have a start position, length, color and a number that will tell if said text is gonna be bold or not. This was made to color the text only once per edit. I also made it so these values are added in order of the starting position. This will select the text from top to bottom and not randomly like it used to be.

2)Made ColorSymbols (wich is now called AddSymbols) will no longer search symbols in the textbox, instead on a copy of it that is saved in a string variable. This was made because the RichTextBox.Find method selects text in the textbox, making the whole process slower. This will be done to the ColorComments and ColorStrings aswell.
2012-08-06 07:12:25 +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 44abe3ad4a LuaWriter. Now colors LongStrings. 2012-08-03 06:17:21 +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
andres.delikat cc82bfbefc small optimization 2012-08-02 21:46:08 +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
andres.delikat 754422b0e4 Lua Writer - bold for syntax highlighting option 2012-08-02 17:48:17 +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
andres.delikat 4d910ce93c TAStudio - remove some assumptions that opening TAStudio = movie loaded. This should never happen! TAStudio has virtualpads, an item useful without movies. It should not be assumed nor required that a movie is loaded! 2012-07-26 22:10:18 +00:00
adelikat fc5c669353 Lua Writer - fix default new lua to have the cursor position on a tabbed new line above emu.frameadvance() 2012-07-26 02:51:25 +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 2881187605 Lua Writer - set default font to a fixed width font, set tabs to 4 spaces 2012-07-26 01:22:12 +00:00
jxq2000 caa606af71 Lua writer color config is now functional, with default button; small fix to default library color; reverted introduction of redundant "Emulua..." value. 2012-07-26 00:48:19 +00:00
adelikat c0015a5b4c Lua Console - set a proper tooltip on the New Script toolstrip menu item 2012-07-26 00:01:21 +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
andres.delikat a5ed71269d text: LuaConsole. Added a New Script menu item and toolstrip button. It calls the LuaWriter with a null path.
LuaWriter. If it is loaded with a null value, it will start the Text with while true do emu.frameadvance() end.
2012-07-25 17:36:26 +00:00
andres.delikat 8214a649c3 Lua console - fix to autoload lua session, if there is no recent session, it will open nothing, rather than cause an exception 2012-07-25 13:55:25 +00:00
adelikat 817b202192 On Behalf of Rolanmen - LuaWriter. Now Colors Lua Library Words. 2012-07-24 03:35:28 +00:00
adelikat 08e79f26a2 Lua Writer - color config - re-hook up the load event that got clobbered at some point 2012-07-24 01:39:19 +00:00
jxq2000 6c5c33ea7a Beginning of Lua Writer Color config form - not yet functioning.
Renamed a global variable for consistency with others.
2012-07-24 01:11:36 +00:00