Forum Replies Created
-
AuthorPosts
-
- Oh. Changes were in dev branch only. I just pushed them into master. Please try it.
- Mark take part in development of ted2go, so let’s see what happens with original ted2.
- Does that laptop has Home/End buttons? Or you use cmd+left/right as alternative for home/end?
November 6, 2016 at 2:33 pm in reply to: Something like this json config manager useful to anyone as a module? #4812Hm. If we look into
Monkey1modules/monkey/types.monkey2we’ll see that base class Object also contains reflection data – TypeInfo.
Therefore it’s not a problem (no overhead?) to use Variant. Or even ‘Object’ type to boxing.
Also I heard that reflection now working only if we import <reflection> module.
November 6, 2016 at 10:32 am in reply to: Something like this json config manager useful to anyone as a module? #4805This helper looked useful.
About code – what about using Variant type to store values instead of few vars int/bool/string/float/etc? It will reduce similar code parts, I think.
Good news! Well done.
shortcut to comment/uncomment lines
Ted2go has it. Shortcut Ctrl+’ or button on editor bar.
Ctrl+Left/Right – usually it moves cursor to near word, with checking of camelCase. Easy to implement but isn’t important for me. Will be added later.
I try to merge latest features into ted2go.
Now I see “goto line” feature in origin – unmerged yet, but I’ll do.
My fork Ted2Go has normally Tab behaviour. Also “insert with current indentation” is in todo.
Also my version has code parser that brings us autocompletion – not ideal but already very helpful.
Preferences dialog I also keep in mind and plan to do after other things. Now we can edit json files with settings to customize app.
Look at Ted2Go in Projects section.
Since new Ted2 has Source tab, I rewrite some of code to use it.
What I did
- Placed CodeTree into Sourse tab
- Added code re-parsing after 1 sec from last TextChanged event. Also there is updating codetree after re-parse. (before it was done when saving document).
- Also you can see parse error in editor after 1 sec after typing.
Near todo task
- Replace my own parser with mx2cc parser to get more accurate result. Probably I’ll make mix from 2 parsers.
New changes are in dev branch on github.
Attachments:
Can’t save sources ‘on close’ because it’s a crash!
Hope I’ll fix that soon.
I start ‘ted from ted’ in debug mode and work in ted#2 to catch bugs. You can do the same. And report bugs. (I caught “invalid fiber id”).
Will be useful to add button “Save to file” in Debug tab, so any user can send report with stack trace.
—
Also I got a small donation, it’s nice!
I’ve refactored code style of all my classes according to Mark’s style. Will use that to get more consistent code.
Works. Thanks!
Are u using the latest version. Mark fixed interfaces issue today (or yesterday ), may be it fixed this case too.
Cool!
With rotation in 3 axis?
Some improvements:
- Documentation tab – added navigation bar: home, back, forward (see screenshot).
- Project View – added file action “Rename”.
Attachments:
Modern and so on… )
Sometimes I got error “invalid fiber id”.
Don’t know how to fix. Just restart app and it works normally.
-
AuthorPosts

