Ted2Go IDE

About Monkey 2 Forums Monkey 2 Projects Ted2Go IDE

Tagged: ,

This topic contains 596 replies, has 46 voices, and was last updated by  nerobot 3 months ago.

Viewing 15 posts - 301 through 315 (of 597 total)
  • Author
    Posts
  • #8525

    Hezkore
    Participant

    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.

    #8585

    Hezkore
    Participant

    I’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. 🙂

    #8732

    Hezkore
    Participant

    Sorry 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. 🙂

    #8743

    nerobot
    Participant

    Nice work! 🙂

    #8751

    Hezkore
    Participant

    Thanks! 🙂

    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.

    #8752

    nerobot
    Participant

    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.

    #8783

    scurty
    Participant

    Would 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.

    #8799

    Hezkore
    Participant

    @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.

    #8800

    nerobot
    Participant

    Cool. Try to merge tomorrow.

    #8802

    Hezkore
    Participant

    Here’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..?

    #8819

    Hezkore
    Participant

    I’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.

    #8820

    Diffrenzy
    Keymaster

    Cool!

    #8824

    nobuyuki
    Participant

    @hezkore

    IRC 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.

    #8827

    Hezkore
    Participant

    Oh sorry, I know about IRC colours, it’s M2 I don’t know about hehe

    #8875

    nerobot
    Participant

    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:
Viewing 15 posts - 301 through 315 (of 597 total)

You must be logged in to reply to this topic.