Danilo

Forum Replies Created

Viewing 15 posts - 61 through 75 (of 145 total)
  • Author
    Posts
  • in reply to: How to init array? #7345

    Danilo
    Participant

    Another way for initializing an array-of-arrays, provided by Mark himself:

    Good example for the MX2-CODE-COLLECTION. 😉

    in reply to: How to init array? #7329

    Danilo
    Participant

    @xaron:
    Maybe you could use array-of-arrays for this case?

    in reply to: Way to predefine/inline define an array of arrays? #7328

    Danilo
    Participant

    @xaron
    New Int[10,10] is a multi-dimensional 10×10 array.

    New Int[][10] is an array of arrays, and each array can be different in size:

    in reply to: Temporary Standard Input – UPDATE #7302

    Danilo
    Participant

    Like you did with ‘New Byte’ in the other code:

    You access the address of the buffer using ‘VarPtr buffer[0]’

    in reply to: Temporary Standard Input – UPDATE #7296

    Danilo
    Participant

    You need to allocate memory for the buffer in the first line.
    Just ‘buffer:char_t’ is not a memory buffer of 1024 chars.

    in reply to: Run process problem #7284

    Danilo
    Participant

    Did you try to change the current directory to your app directory at start?
    Do you just call “wget.exe” or “AppDir\wget.exe” (full path)?

    in reply to: Function variable pointer #7271

    Danilo
    Participant

    > Here’s an example showing that it just doesn’t work.
    > https://dl.dropboxusercontent.com/u/2842751/image_test.zip

    Mark should take a look at your example.

    Here an ugly test using casting to ‘Void Ptr’:

    Works, but casting to void ptr is not typesafe.

    in reply to: Ted2Go IDE #7229

    Danilo
    Participant

    > I have this working properly. Have anyone the same bug with theme colors?

    I noticed the same when switching themes. Only GUI colors are changed,
    not the syntax highlighting colors within the editor. I’m also using macOS.

    in reply to: Ted2Go IDE #7225

    Danilo
    Participant

    Thanks! It’s getting better and better… 🙂

    EDIT:
    How can I move the treeview sidebar to the left side?
    And I would like to always show “Source” after start,
    not “Project” (I would like to make “Source” the first and default item).

    in reply to: Ted2Go IDE #7221

    Danilo
    Participant

    @nerobot:
    Can you make the completion popup window to always open
    _under_ the current line, if possible?

    See screenshots, the popup opens above the current line
    all the time, and sometimes it opens on top of the editor.

    I think it should always open below the current line
    and not get into my way.

    in reply to: Ted2Go IDE #7217

    Danilo
    Participant

    @nerobot:
    Using latest github sources, I get the following error:

    Removed those two lines and everything builds fine.

    EDIT:
    Another thing with fonts.
    The fonts in “ted2go/assets/fonts/” are not copied into the final executable.
    I have “verdana.ttf”, “verdanab.ttf”, “Roboto-Medium.ttf”, “RobotoMono-Medium.ttf” there,
    and the final .app has only “DejaVuSans.ttf” and “DejaVuSansMono.ttf” in “ted2_macos.app/Contents/Resources/fonts/”

    in reply to: Ted2Go IDE #7216

    Danilo
    Participant

    Can’t we just use and choose installed system TTF fonts?

    in reply to: Consistency #7174

    Danilo
    Participant

    Okay, convinced. Will the 3D module be free or paid (for early supporters)?

    in reply to: Continue Line #7173

    Danilo
    Participant

    There are many situations when line continuation can be useful:
    ‘+’ or ‘&’ for long string concat
    ‘And’, ‘Or’, ‘Xor’ in longer If-comparisions
    ‘|’ etc. when combining many binary flags
    ‘,’ for many parameters

    If all that is a problem, ‘..’ or ‘ _’ may be better.

    I think it’s easy to do. If the lexer/scanner detects one of
    ‘+’ ‘-‘ ‘&’ ‘And’ ‘Or’ ‘Xor’ ‘|’ ‘,’ ‘(‘ ‘[‘
    as a token, it sets a bool variable ‘LINE_CONTINUATION_OP = True’.
    The next call to the lexer, it removes whitespaces first (space+tabs+comments),
    and when it detects an EOL (end-of-line), it is skipped if
    LINE_CONTINUATION_OP is True.
    For all other tokens, LINE_CONTINUATION_OP is set to False.

    Using this way it is easy to add another token to the list of
    line continuation operators. Just add ‘LINE_CONTINUATION_OP = True’
    for this specific token. It’s a lexer/scanner-only thing, the parser
    does not notify any of this things.

    in reply to: Consistency #7119

    Danilo
    Participant

    @degac:
    In my opinion the price should also be comparable to similar products.
    If you give $10/month, that’s already $120 for one year, and $1200 in 10 years.
    Similar products are usually $80 to $199, often with a life-time license.
    Personally I think $10/month is still okay, but I wouldn’t go over the top
    and charge for everything like you suggest (docs for example).
    The price we pay has to be in relation to the product and market, somehow.

    Of course, just my opinion.

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