nerobot

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 805 total)
  • Author
    Posts
  • in reply to: Macos emscription how to install? #15483

    nerobot
    Participant
    in reply to: MojoX : How to change the font? #15413

    nerobot
    Participant

    Good.

    Also note, that all your TextView now will have such font.

    To separate them, use inputView.Style = inputView.Style.Copy().

    in reply to: MojoX : How to change the font? #15411

    nerobot
    Participant

    You can use theme file to setup fonts and other views related stuff in json format, similar to css, look at assets/themes/ folder of you compiled app to see what theme file is, default.json.

    But you need to create and set your own theme file based on that default given from mojox.

    Your screen looks like there are two intersected labels.

    in reply to: MojoX : How to change the font? #15398

    nerobot
    Participant

    You didn’t assign loaded font, so it didn’t changed.

    Correct way:

    inputView.Style.Font = Font.Load("asset::calibri.ttf", 20)

    in reply to: Ted2Go IDE #15368

    nerobot
    Participant

    Option1 – is already here – screenshot.

    Option2 – no, let’s use existing stuff, ctrl+alt seems like overhead for me, sorry.

    Attachments:
    in reply to: Calculus #15364

    nerobot
    Participant

    Feature advice – to show marker (like blink cursor) at the tapped place on screen to see where we going to insert digits/symbols.

    in reply to: JSON extensions #15363

    nerobot
    Participant

    A new one to extract int-based enums:

    Example

    in reply to: Antialiasing on main canvas #15362

    nerobot
    Participant

    Are your textures loaded with Filter flag? (I’m not sure this is the reson, but…)

    in reply to: 3D Animation with Monkey 2 #15361

    nerobot
    Participant

    Did you look at tests folder of mojo3d module?

    For example, there is an animation demo here: /monkey2/modules/mojo3d-loaders/tests/ninja.monkey2

    in reply to: Ted2Go IDE #15358

    nerobot
    Participant

    Here’s an improved way to handle commenting behavior. Looks like is the same as Sublime.

    Everything is based only on toggling behavior, however the only last case is where Ctrl+Shift+’ is used which is forced uncomment.

    I see no difference with current ted2go behaviour – there are also ctrl+’ to comment and shift+ctrl+’ to uncomment. 🙂

    And if you have selection you can just press ' to comment seleted lines (I’m not fully glad with that but nobody complain).

    in reply to: Ted2Go IDE #15357

    nerobot
    Participant

    Fullscreen Editor is not really full screen. It is letterboxed to a 4×3 ratio and is even smaller than a non fullscreen editor.

    fullscreen editor is 70% of desktop width, to be centered. are you really need very long code lines?

    Problem with that solution is 1) I still get the icons and menu at top, so the vertical space is shorter,

    what version of ide do you use? there is no icons and menu at top in latest version

    and 2) It is much easier to switch from Fullscreen editor and back with Shift-F11, instead of doing Alt-1-2-3-4-5-6-7 to switch back and forth.

    you can back from fullscreen editor by pressing Esc key 😉 (or press Shift+F11 again)

    What would be a nice feature is to allow any dock to become fullscreen. At times I will try and read the documentation and have to drag the window up into the editor to see more at a time. Would be handy to switch between views with a single key combination.

    I agree. 🙂 But have no time to do that, sorry.

    in reply to: Localization system (allow change locale on-the-fly) #15296

    nerobot
    Participant

    I just pushed improvements to github.

    Look at new demo-multivalue.monkey2.

    Now we can register custom value-providers to override behaviour.

    As far as there is Null value for String type is empty string and empty string can be valid value,

    I created a bit monstrouse function defenition with Bool Ptr (omg!) to have two return values.

    if such provider func set eaten=True then we get/found actual value and must return it even if it’s an empty string.

     

    For example, we want to censoring all texts by keys, for example by key “java”. 🙂

    Now all keys containing word “java” will return “[censored]” string.

    in reply to: DialogModule #15290

    nerobot
    Participant

    There is no .dll support yet.

    Monkey2 provides similar functions, so I don’t know would that be useful or not.

    in reply to: Drag and drop? #15272

    nerobot
    Participant

    Replace MainWindow.OnFileDropped( arg ) with your code .

    in reply to: Drag and drop? #15270

    nerobot
    Participant

    Ted2go is supporting drag-into-exe. You can test it on win and mac.

    The code

Viewing 15 posts - 16 through 30 (of 805 total)