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 - 61 through 75 (of 597 total)
  • Author
    Posts
  • #5087

    Hezkore
    Participant

    Another annoying this is that if I try to move the Tab Close button using Margin or Padding, you can still click on the original position of the close button.

    #5089

    nerobot
    Participant

    No you can still apply it (as you can clearly see in my GIF!) via selecting the same theme again.

    You are right, sorry.

    So, that is what I found:

    1. style of TextView has no effect, and there is used “content” color for background.
    2. if I setup “content”:”#282C34″ then I got correct color, not #223333
    3. style of TextView work correctly in my monkey2 fork! and when I answered you first time I tried with it and it works. Now I tried with release1.1.01 and it does not work.
    4. Needed more deep comparison code to understand.

    This is my theme for test:

    and result on the screenshot.

    So try to use version from monkey2 repository.

    #5094

    AdamStrange
    Participant

    these are colors for code highlighting:
    <clip>
    LOL

    so… why doesn’t the code reference the actual use and not color0, etc.

    For the end user, editing a non-sensical document full of color0, etc makes no sense. 😉

    you could go further with the color definitions themselves:

    E.G.

    “#ff0000” and why not “Red”. why in “” and why if defining it as a UInt it is $ff0000ff. or as Color(1.0,0,0). There is no connection with any of it!

    </div>
    My solution was to have a unified set of colors, that are named and shown. so you know what they are in both words and a visual color picker.

    E.G.

    canvas.Color = Color.PicoBlack

    or pop out the color picker and pick the color “PicoBlack”, or pick that sort of black color you like.

    The color picker also shows what the rgb values are in floats.

    Be very carful with having any sort of floating dialog – they get in the way

    etc, etc

    </div>

    #5095

    nerobot
    Participant

    For the end user, editing a non-sensical document full of color0, etc makes no sense.

    The rule is: If you are not ready to study each param inside of theme – don’t touch this.

    The end user should be enough to use predefined themes. 😉

    And as I said earlier – color picker is in todo.

    #5096

    Hezkore
    Participant

    I’ve built Monkey 2 from the master branch and Ted2Go from the master branch and applied your theme.
    The colour is still wrong.

    #5097

    skn3
    Participant

    nerobot, you the bomb!

    #5098

    Hezkore
    Participant

    I tried the “dev” branch of both Monkey 2 and Ted2Go now and the colour is STILL wrong. :/

    #5100

    nerobot
    Participant

    Hm. Looked like mystic.

    I will try to understand this situation a bit later, ok? Probably, there is needed core monkey fixes.

    #5102

    Hezkore
    Participant

    It seems the error isn’t specifically linked to the IDE!
    I’ve been experimenting and it looks like ALL my colours in Monkey 2 are wrong.

    Here I’m drawing 3 rectangles, the 2 at the top should be blue-ish but are green when drawn.
    The bottom one should be very different from the 2 at the top, but they look exactly the same when I draw them.

    That is for Windows.
    But if I compile for Emscripten the result is correct!

    I’ve started a separate thread for this, hoping Mark will see it!
    On another note, is there any way to increase the distance between lines in the text view gadget?

    #5188

    Hezkore
    Participant

    @nerobot
    I’ve added a toggle option for the Toolbar.
    In mainwindow.monkey2 add this to the view menu creation:

    And here’s the new AddToggleActions function, add anywhere (I recommend above AddZoomActions function)

    I couldn’t figure out how to hide the code toolbar menu though, I’d like a toggle option for that too.

    #5189

    nerobot
    Participant

    For code toolbar – look into  codedocument.monkey2 -> CodeDocunent class -> New() method.

    There is a code at the end of New():

    as a simplest solution just comment line

    later I’ll add show/hide options into menu.

    #5190

    Hezkore
    Participant

    Yeah I had a look at that.
    But I couldn’t find a way to access “docker” after the New() method, and I want to Toggle it like the Toolbar. 🙂

    #5191

    nerobot
    Participant

    Steps to do are:

    1. Replace local bar variable with field _toolBar
    2. Add property ToolBarVisible:Bool
    3. In mainwindow for toogle logic add method ToggleCodeToolBar()

    I wrote this code inside of browser to show you my direction. So need to be fixed of course.

    #5192

    nerobot
    Participant

    There are many bugs and weak spots in current version. I can’t wait I have spare time to fix them. 🙂

    #5193

    Hezkore
    Participant

    Yeah the search window is driving me crazy heh.
    If I paste something in there it doesn’t work, if I open it and hit enter it clears the field etc.
    But overall it’s a great improvement! So well done.
    I can add a toggle option for the code toolbar, I know how, I just wasn’t sure how much of your code you wanted me to alter.
    I was hoping you’d use my code I posted above in your next release hehe. 🙂

Viewing 15 posts - 61 through 75 (of 597 total)

You must be logged in to reply to this topic.