About Monkey 2 › Forums › Monkey 2 Projects › Ted2Go IDE
This topic contains 596 replies, has 46 voices, and was last updated by 
 nerobot 3 months ago.
- 
		AuthorPosts
 - 
		
			
				
January 4, 2017 at 7:09 am #6193
I don’t know as I haven’t used earlier version. Strange enough this is only related to one of my PCs. On my Laptop everything is fine. STRG+S works in every other program though…
January 4, 2017 at 11:39 am #6199Just did a fresh install of everything (well ok, it’s the binary v.1.1.02). Same problem.
Even more strange is that things like STRG+C/+V and +Z work, but STRG+O/+S/+N/+F do not!
January 4, 2017 at 1:12 pm #6207I don’t know, sorry.
January 4, 2017 at 1:41 pm #6210No need to apologize. I cannot imagine that Ted2go is the problem itself actually…
January 6, 2017 at 11:41 am #6243New stuff:
- Autocomplete – smart ident checking: by case and length, and by searching of ident parts. (see ted2go_new_complete.png) [*]
 - New – added Preferences dialog to manage autocomplete state, show/hide toolbars and gutter. Stored in ted2.state.json. (see screenshot) [**]
 - Improve – when delete \n in current line then also delete indent of the next line. This eliminates the need of deleting a few tabs from bottom (next) line.
 - Improve – append additional indent on new line if pressed Enter on line with ‘method’,’for’, etc.
 - Improve – types parsing (:=True, ‘Ptr’ and some other).
 - Improve – attempt to implement EnsureVisible for current document when open it. Worked fine for opened docs only. [***]
 
[*] – now, there is letter-by-letter checking with distance 3 chars. So, if we have ‘similar’ methods like Destroy() and OnDestroy() and typed ‘des’ we will see both these methods in autocompletion list.
[**] – now we can choose – what key to use with completion list: Tab or/and Enter.
[***] – because we need to wait layout before we can show the doc (else doc’s tab size is zero), but have no callback for that. And OnLayout is fired continuously even on app idle, is it OK?
Attachments:
January 6, 2017 at 7:22 pm #6266Great, thanks for the updates.
January 7, 2017 at 8:32 am #6273Improve – types parsing (:=True, ‘Ptr’ and some other)
Thanks it’s work perfectly
January 7, 2017 at 1:29 pm #6277January 7, 2017 at 9:33 pm #6284you know what would be a cool option… docking the complete window. I once wrote for an autocomplete for an bmx editor I never finished, what it did was to keep the complete window opened and docked on the right so that it never obscured the actual code you were working on. In addition, it inserted inline the top hit dimmed and keeping the cursor in the same place of course. Worked great and you didn’t get this window flashing on and off all the time as you typed.
January 8, 2017 at 5:26 am #6289January 9, 2017 at 5:45 am #6317exactly the same way you would now.. the only thing that is actually different is the selector window stays open, docked… when there is nothing to complete it’s just empty. when populated the top hit fills inline in the editor with your cursor at the last char typed and the remaining letters following in like a greyed out color style (this is your auto complete indicator) actually if remember xcode does that part. tab/return completes and cursor keys (only when the autocomplete docked list has items in it) move up and down the complete list as normal.
January 9, 2017 at 6:22 am #6318Thanks for an explanation. Seems like a very specific thing. Maybe when my todo became empty…
Current autocompletion list based on Dialog class, so it seems a bit massive (I didn’t know another way when implement it). So I plan to do completion list to look a lightweight. And need to fix Y-position (shown above than it should).
January 11, 2017 at 6:49 pm #6418Continuation from this thread:
nerobot
Also, I plan to add “Clean” checkbox into Build dialog. So we can get update and rebuild results (clean+makemods=rebuild).If you are planning to do so you can check this utility I created, just in case there is something interesting in it. I thought about making it a GUI first, but in a more practical sense, people might have dozens of bat files in their systems and invoke them directly.
http://monkey2.monkey-x.com/forums/topic/monkey2-build-cleanup-utility/January 12, 2017 at 7:48 am #6433Ok.
January 12, 2017 at 10:50 am #6446May I step in with my CTRL+ issue again? I’ve tried to debug that but where is that place where is the CTRL+S event happening? I’ve found some in the monkey2keyeventfilter.monkey2 and those are actually working. But the more generic ones are done by monkey itself?
It’s super annoying to not have a working keyboard with short cuts (CTRL+C/V works but CTRL+S does NOT) and is one of the reasons I cannot use Ted atm.
Maybe Mark could step in for some help? I mean my computer is nothing special, just a Windows 7 system…
Another issue: The content of the Ted windows does not repaint when I move another windows on top of it. So when I have a window hiding Ted and move that window away, Ted still shows that hiding window and not its content. As soon as I put it in front again my clicking into Ted it works of course.
 - 
		AuthorPosts
 
You must be logged in to reply to this topic.
		
		
	
