Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: CTRL + G, executes the open program. (1.7.0.0 version)

  1. #1

    CTRL + G, executes the open program. (1.7.0.0 version)

    I don't use many keyboard short-cuts... (CTRL + G = GotoLine#)

    But because the ThinAIR has no line numbers in the code window... I use that one quite often when the errors pop-up.

    This function now launches the program that is open (TopMostWindow). The Menu-Select version shows the LineNumber tool-box, but does not go to the line you ask it to go to.

    Could you just remove that command, and put the line numbers, like the debugger has? (Which does not work for me now either.)

  2. #2
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,129
    Rep Power
    732

    Re: CTRL + G, executes the open program. (1.7.0.0 version)

    I can confirm this behavior of CTRL-G too,

    it executes script instead of showing goto line dialog.
    I used goto line a lot, so would be happy to bring it back to CTRL-G.
    I can still launch it from menu, but that is not ideal.

    Maybe better to move this to 1.7.0.0 "hidden" section to not confuse users of official releases.


    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  3. #3

    Re: CTRL + G, executes the open program. (1.7.0.0 version)

    Sorry, I forgot about the hidden area.

  4. #4

    Re: CTRL + G, executes the open program. (1.7.0.0 version)

    Hi to all,

    sorry but I'm not able to replicate it even if I use the same version.
    I'll check more deeper.

    Ciao,
    Roberto
    http://www.thinbasic.com

  5. #5
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,779
    Rep Power
    10

    Re: CTRL + G, executes the open program. (1.7.0.0 version)

    It seems it happen when the Code Browser is not shown.
    When Code Browser is visible (use F2 key to show it) CTRL + G works correctly as GoTo command.

    Roberto is checking ...

    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  6. #6

    Re: CTRL + G, executes the open program. (1.7.0.0 version)

    Issue fixed.
    Until now I didn't realize that GOTO LINE function was really utilized, so I added to it others features like relative increment.
    For example if you insert 100 and press OK you will go to line 100, then you insert -10 you will move to line 90 then you insert +10 you're back to line 100.

    Regards,
    Roberto
    http://www.thinbasic.com

  7. #7

    Re: CTRL + G, executes the open program. (1.7.0.0 version)

    Yes, I close the code browser, because it gets in the way...

    Is there a way to dock the code browser, so it is not floating? Seems funny floating above the screen, like it has some sort of dominance to the program. Doesn't seem to work on mine... it always says... FUNCTIONS > Not available, SUBS > Not available, on all my programs. (Which was the other reason that I had it closed.)

    I am not sure what you are talking about, with the 100 and -10 thing... but I am sure I will find-out soon.

    Thank-you for investigating this issue.

  8. #8
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,129
    Rep Power
    732

    Re: CTRL + G, executes the open program. (1.7.0.0 version)

    Hi Roberto,

    the relative jumps seems like interesting feature.

    Jason, I think that means that by entering "100" into dialog it will move you to line 100. If you type "+10" after that jump, it will move you to line "110" and so on.


    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  9. #9
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,779
    Rep Power
    10

    Re: CTRL + G, executes the open program. (1.7.0.0 version)

    When I use thinAir, I always have Code Browser open. It helps me a lot in the meantime advanced scintilla editor is still under heavy development from Roberto.

    First, be sure to have checked into thinAir options the following:
    • under General tab:
      Save workspace: yes. This will save your thinAir workspace info like last position, window size, ...
      Browser anchor: Left or right but not None. This will anchor the code browser to thinAir window on the side you choosed


    Save changes, close and open again thinAir.

    Now show Code Browser if not on screen.
    Be sure not to have thinAir in maximized state but size thinAir window the size you prefer. I have main thinAir window sized about 3/4 the size of the screen.
    If Code Browser was anchored (left or right) you will see it will be sized accordingly with thinAir height.

    Hope this can help.

    Ciao
    Eros
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  10. #10

    Re: CTRL + G, executes the open program. (1.7.0.0 version)

    Ok, new problem...

    I had "Save workspace" checked...
    I set "Dock Left"...
    I closed ThinAir...
    I opened ThinAir...

    Now the browser thing doesn't show at all?

    I set it back to "Dock None"...
    I closed ThinAir...
    I opened ThinAir...

    Browser is still "Missing in action". The bottom of my screen, in the notice bar, says "Browser opened", and the screen flashes, but it is nowhere to be seen.

    Thanks Eros, you broke my ThinAir... LOL. ;D

Page 1 of 2 12 LastLast

Similar Threads

  1. Example: Section 4.3 (page 28), My First OGL Program (second program)
    By kryton9 in forum ThinBASIC programming in OpenGL/TBGL
    Replies: 2
    Last Post: 26-02-2010, 06:01

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •