Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 39

Thread: My simple editor

  1. #11

    Re: My simple editor

    Is anyone maby try...?
    Im not sure how autosave work when user press button 'run'..

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

    Re: My simple editor

    Hi Aurel,

    editor looks elegant, but it seems to me the following is not working yet:
    • Run button and Execute/Run script
    • Find, Build, Info, Help, Website icons
    • Not all the keywords are highlighted, for example TBGL_UseVSync



    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. #13

    Re: My simple editor

    Hi Petr...
    editor looks elegant, but it seems to me the following is not working yet:

    * Run button and Execute/Run script
    * Find, Build, Info, Help, Website icons
    * Not all the keywords are highlighted, for example TBGL_UseVSync
    I dont know why toolbar button 'run'-(blue arrow) not work for you?
    I have MagicSmall on disk C:\MagicSmall and on same disk thinBasic
    folder C:\thinBasic and when i open file from for example:
    C:\thinBasic\SampleScripts\TBGL\Basic\tblg_CustumCoordinates
    and then i click on 'run' button program start without any problems.
    Same thing works also from Menu - Execute -RunScript .

    *Find,Build,Info,website not work yet...
    Help work for me from toolbar and menu to.
    *Yes you right some keywords are not highlited but will be...

    If runing and orther things which i say dont work for you try put
    MagicSmall folder inside thinbasic folder then try run...

    all best...
    Aurel
    Attached Images Attached Images

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

    Re: My simple editor

    Hi Zlatko,

    I have thinBasic.exe in C:\util\thinBasic and your IDE in another directory.

    If you are not sure where thinBasic.exe is located, you can use the ShellExecute API:
    [code=thinbasic]
    ShellExecute(0, "open", "C:\PathToScript\Script.tBasic", "", "C:\PathToScript\", %SW_SHOWNORMAL )
    [/code]


    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

  5. #15

    Re: My simple editor

    Hi Petr...
    I know for ShellEcecute api command,thank for info but i use next
    I simply delete folder MagicSmall on C disk ,before that i copy this folder to disk D and works oK, im not sure why this dont work on your computer ?
    I've also try from my second computer and works fine again,
    i really dont understand why dont for you???
    Attached Images Attached Images

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

    Re: My simple editor

    Hi Zlatko,

    well, then hard to say. The ShellExecute way works 100% here.
    Maybe the problem is I have thinBasic in C:\util\thinBasic and not C:\thinBasic?

    How do you launch the scripts?


    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

  7. #17

    Re: My simple editor

    Yes it looks that is problem becose you have thinBasic folder as
    subfolder inside utilis.
    So for you and all other that just place MagicSmall folder inside
    thinBasic folder then open file and click run - must work"!

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

    Re: My simple editor

    Hi Aurel,

    the state now is that I have:
    • thinBasic installed in C:\util\thinBasic
    • Magic_Small moved to C:\util\thinBasic


    When I hit the run button ... it still does not work.

    Maybe installing both directly to C:\thinBasic would solve the problem, but I do not want thinBasic (and any other programs) installed in root.

    If you want to solve the problem, you can send me the part of code which launches the scripts via private message, and I will check it.


    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. #19

    Re: My simple editor

    Petr i think that i solve problem...
    So unzip MagicSmall2.zip,then copy four files from this unpacked folder
    right to thinBasic folder where is located.
    I do this on this way and work fine.
    You can now open help and run scripts.
    Screenshot show how look thinBasic folder with magicsmall editor.

    I hope that now will work on any computer...
    Attached Images Attached Images
    Attached Files Attached Files

  10. #20
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    67
    Posts
    3,869
    Rep Power
    404

    Re: My simple editor

    Aurel, I am glad you are making your own editor. I think it is nice to have choices for editors.
    Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
    Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server

Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. What editor?
    By Michael Clease in forum Fixed or cleared errors in help material
    Replies: 7
    Last Post: 31-10-2007, 04:19
  2. [IDE] SED Editor
    By José Roca in forum Power Basic
    Replies: 5
    Last Post: 23-07-2007, 20:07

Members who have read this thread: 1

Posting Permissions

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