Forum Replies Created
-
AuthorPosts
-
@edzup How do you want to use chars array?
You can access to chars by index operator [ ], but it return INT not CHAR.
Example:
Monkey12345678Local str:="Hello, world!"Local latinCount:=0For Local i:=0 Until str.LengthIf (str[i] >= "A"[0] And str[i] <= "Z"[0]) Or (str[i] >= "a"[0] And str[i] <= "z"[0]) Then latinCount+=1NextPrint "latinCount: "+latinCountPrint "non-latinCount: "+(str.Length-latinCount)There are shortcuts:
- Alt + CursorLeft for backward
- Alt + CursorRight for forward
Stored positions are:
- From where we jump to other declaration (by F2/F12) or by Source tab list
- Modified lines, but I don’t remember that.
Yes it’s possible, but not very easy.
I think this happen one day.
The way is to store path info in shared folder like AppData.
Added to issues.
Ok, there are new stuff in dev branch (v2.4):
- CodeMap View for navigation (can be disabled in preferences);
- ‘Chat’ tab for live IRC-chatting (wip);
- Fixed crash when close app;
- Other fixes.
IRC based on @hezkore ‘s code.
Testers are welcome!
Attachments:
Nice graphics and visual effects! Well done.
Look at this code (monkey2’s launcher):
Monkey123456789101112131415161718192021222324252627Function Main()Local qargs:=AppArgs().Slice( 1 )For Local i:=0 Until qargs.Lengthqargs[i]="~q"+qargs[i]+"~q"NextLocal args:=" ".Join( qargs )#If __HOSTOS__="windows"libc.system( "bin\ted2_windows\ted2.exe "+args )#Else If __HOSTOS__="macos"libc.system( "open ~q"+std.filesystem.AppDir()+"../../../bin/ted2_macos.app~q --args "+args )#Else If __HOSTOS__="linux"libc.system( "bin/ted2_linux/ted2 "+args+" >/dev/null 2>/dev/null &" )#Else If __HOSTOS__="raspbian"libc.system( "bin/ted2_raspbian/ted2 "+args+" >/dev/null 2>/dev/null &" )#EndifEndCool. Try to merge tomorrow.
textview-color0…7 are read inside of TextView, you can ‘find in files’ in ted2go folder.
Any custom colors you can add inside of Monkey2Highlighter.monkey2.
Also, we can start an IDE as administrator, then it can get access to protected filesystem area.
Nice work!
Jam master. +1
@hezkore I like this ‘Live Help’.
If it’s possible to chat by all members and if we’ll add some categories like ‘gui’, ‘network’, ‘common’ etc it’ll be nice.
Read all chat history may be a problem, but need a try.
Another variant to get communication is creating discord group . Discord has desktop and mobile clients.
I’m here.)
-
AuthorPosts
