About Monkey 2 › Forums › Monkey 2 Projects › Ted21 progress
This topic contains 85 replies, has 22 voices, and was last updated by
AdamStrange
2 years, 7 months ago.
-
AuthorPosts
-
August 4, 2016 at 7:26 pm #2758
feature request [project directory refresh function]
When I create a new file or folder, then I have to close ted and restart it.
that way is at the moment (osx) the only way to make the new file/folder visible.after working with ted21 (some hours) I had several random crashes but don’t have any error (log)
but its not a real problem because its fast to start it again.August 5, 2016 at 1:55 am #2763Nice idea for a logo.
“Ted” and “Monkey”: Action Team Adventure.August 5, 2016 at 7:57 am #2777@gcmartin Github updated with new ted21 with this function for you
Also new code overview now show debug, remarks and is mouse aware
Attachments:
August 6, 2016 at 7:58 am #2818new ‘check’ build button and menu entry – this needs a slightly modified mx2cc to operate.
Checking is like compiling, only it doesn’t compile anything, it just check the app for errors
You can also see a true mono spaced font in the code window which is also larger
Attachments:
August 6, 2016 at 1:37 pm #2829work on help system going well. here’s the first look at the (not sorted) index
Attachments:
August 7, 2016 at 10:29 am #2835Had to do some nasty work getting the sorting working, but here it is finished
Attachments:
August 9, 2016 at 11:12 am #2897help system now has 3 faces and it also F1 (quick help) aware
Added ttf font viewer as well
August 9, 2016 at 11:17 am #2900This is top notch work Adam, I am reluctant to get into Monkey2 due to a weak IDE but this is coming along nicely.
August 11, 2016 at 7:06 pm #2935I have managed recently to add automatic reloading of opened files in my fork. If AdamStrange are you interested to use whatever source suits your needs you are welcomed.
http://monkey2.monkey-x.com/forums/topic/another-modified-version-of-ted2/
August 12, 2016 at 4:58 am #2939Thanks, but I’ve already got automatic reloading.
P.S. I did have a look at your code to see how you did it – which was a different approach but using the same GetFileTime mechanism.
My version works by tracking program activation and then doing the check. if there is a time difference then reload the file.
August 12, 2016 at 9:31 pm #2955Nice one, I see that you shoot the reload within a few lines of code.
In my fork, when doing reload of the the files, the Undo/Redo stack is busted. If accidentally you perform Undo/Redo the text will break and becomes full of gibberish. I don’t know if you have noticed it.
The solution I guess is that mojox TextView should be updated to clear the Undo/Redo stack right after the reload.
August 13, 2016 at 5:41 am #2958MakeCurrent( doc:Ted2Document ) is your friend there
Monkey123456789If doc.Time < GetFileTime( path ) Thendoc.Load()doc.DirtyChanged = Lambda()UpdateTabLabel( doc )EndMakeCurrent( Cast<Ted2Document>( doc ) )' SaveDocument( doc )EndAugust 13, 2016 at 5:48 am #2959some more progress notes:
clicking on the status bar:
left side will take you through the error (if there are any
right side will take you to the current line of code
Right overview now shows the current line (where the cursor is in highlight blue)
buttons in button bar now enable and disable correctly
added back and forward buttons, so you can travel around your code. Great for editing a bit of code, going to another bit and then instantly returning
Use Color (in the color panel) will insert logical RGB text. either (,1, 0, .7) etc if it is a shade of the main color. or the actual color text (Red, UIBlue, Phlox) etc if it is a main color
F1 when over text will enable quick help
Escape when help is showing will hide it.
new ttf font view
Known issues:
code view gets corrupted – working on this at the moment
close document crash – fixed
August 13, 2016 at 11:08 am #2966slight news:
left code view list is completely bugged to hell. I’m currently rewriting it from scratch.
Looks like a number of the crashes were down to this beastie…
August 20, 2016 at 6:13 am #3242ok. Mark has updated monkey to V1.03 and broke ted21, so to compile you will need V1.02
but ted21 work fine with V1.03 so compile on V1.02 and use with both .02 and .03
<hr />
Big update with lots of stability and uber fixes throughout. it seems very stable now.
new left code view rewritten from ground up. new audio document – you will need to update mojo/audio modules for this to work
property icon changed and also changed color
Clicking on the status bar will move you around the document (error on the left, current position on the right)
document cursor position icons now functional and added to toolbar
debug/stop icons on toolbar now correctly enable/dissable
-
AuthorPosts
You must be logged in to reply to this topic.







