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
 - 
		
			
				
June 9, 2017 at 7:03 am #8525
The good thing about IRC, compared to something like Discord, is that it’s completely open.
Anyone can write a server or client for it and there’s no registration or accounts to bother with.And there are sooo many IRC clients, for PC, Mac, Linux, Web, Mobile, 8-bit systems (I have IRC on my Atari hehe)
As long as a device as internet, I can guarantee you that that it’s got some sort of IRC client!And yes! It’s very possible to have multiple channels for things like “gui” and “network”
The #monkey2 chatroom shown in the screenshot is a room I started at the Freenode IRC server, you can join in it any way you like, with any IRC client.
It only takes a second to start another room, for things like network or gui.
My IRC client/view supports multiple rooms and even multiple servers!
It displays it in the treeview on the left, with the server as the root and channels as the children.
In the screenshot, you see me connected to the “freenode” server and inside the “#monkey2” room.But I would probably suggest only having one room to start with, it’s not like the M2 community is very big yet anyways heh.
June 10, 2017 at 8:06 pm #8585I’d like to suggest that instead of just a “statusbar-active” colour, we instead use “StatusBar”:{ “states”:{ “active”:{”
Same for “StatusBarText”, “StatusBarLineInfo” etc.
(Maybe make StatusBarText and StatusBarLineInfo use textColor and font from StatusBar?)Cause I’d like to change the text colour as well when an application is running, not just the background colour.
June 14, 2017 at 6:31 pm #8732Sorry for all the posting in this thread! heh
I’ve made a new theme I call “Prime”, it comes in Red and Blue.Here’s a little preview of it:

Link to better quality: https://puu.sh/wk20q/1069a1f298.gif
I wish I could choose function, class names and fields colours and stuff like that separately.
I would have loved to get some more blue in the syntax colour theme.June 15, 2017 at 3:14 am #8743Nice work!
June 15, 2017 at 2:31 pm #8751Thanks!
Is there any way to make classes their own unique colour?

And is there a way to make Functions and Methods their own colour?

Also, when is “textview-color0 “and “textview-color7” used?
I’ve set those two to be a horrible purple colour, but no matter how much code I inspect I can’t find where it’s used.June 15, 2017 at 2:57 pm #8752textview-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.
June 17, 2017 at 1:00 am #8783Would be stunning to use blurs/gradients whilst using the alpha channel to have a “glass” or “frosty” effect for the UI.
*hint hint*Nice work y’all! Lovin’ it.
June 17, 2017 at 2:29 pm #8799@nerobot
I’ve done a pull request to the dev brench for my code map.
It sorta works okay… but word wrap is acting very weird.Here’s a video of it in action (word wrap not seen here): https://youtu.be/TuM-VWJCYbo
I think it would be an awesome addition to Ted2Go!
But word wrap needs to be sorted first.June 17, 2017 at 2:43 pm #8800Cool. Try to merge tomorrow.
June 17, 2017 at 2:49 pm #8802Here’s a gif of the word wrap issue:

I’m guessing I’m not using OnMeasure/OnMeasureContent or one of the other OnMeasure2 methods correctly..?
June 19, 2017 at 3:46 pm #8819I’ve created a pull request for the IRC live help tab.
It works pretty good!
It supports multiple IRC servers, multiple rooms and even user to user private chats.
The only thing it doesn’t support are IRC colours (and I guess direct connections)
Mainly because I have no idea how text highlighting works in M2, and I can’t find anything in the documents about it.
I’ve also done so that it saves your IRC nickname via Prefs.The module itself is a bit rough right now since I’ve had to hurry things up at the end.
(I’ll be out of the country for a few weeks)
But I’ll improve it over time and I can update the Ted2Go implementation then as well.
I’ll work on making it pretty later heh.Just switch over to the IRC tab.
Enter the nickname you want to use.
Click connect and wait for it to connect to the server.It’ll automatically join the #monkey2 channel for you once the server allows it.
You can double click a user to open a private chat.
Or right click items in the server/channel tree view to join more rooms or servers etc.
June 19, 2017 at 4:48 pm #8820Cool!
June 20, 2017 at 5:19 am #8824IRC color codes work by using control code 0003 (ETX) to signify the start and end of a block of colored text. it then expects one or two arguments specifying the color code from a preset table.
https://en.wikichip.org/wiki/irc/colors
http://www.mirc.com/colors.html
Some other control codes are used to create text formatting. See the first link for more details.
June 20, 2017 at 1:25 pm #8827Oh sorry, I know about IRC colours, it’s M2 I don’t know about hehe
June 23, 2017 at 11:16 am #8875Ok, 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:
 - 
		AuthorPosts
 
You must be logged in to reply to this topic.
		
		
	