Page 19 of 24 FirstFirst ... 91718192021 ... LastLast
Results 181 to 190 of 236

Thread: thinBasic 1.11.x.x

  1. #181
    Hi, just a feedback upon autocomplete feature :

    Type MyPropertiesDefinition
      
      userName as String
      
      function _Create
        me.userName = "Guest" ' autocomplete works (.userName)
      end Function
      
    end Type
    
    dim myTestVar as MyPropertiesDefinition ' autocomplete works (MyPropertiesDefinition)
    
    Reset myTe ' autocomplete does not work (myTestVar)
    
    
    
    
    dim myFilename as String
    
    myFilename = "Document.txt"
    
    MsgBox 0, myF  ' autocomplete does not work (myFilename)
    
    is Dim keyword autocompletion different of Type to manage ?
    Maybe a lead : in notepad++, that uses scintilla, there is such functionality : you type a word with 3 or more characters , then it is automatically added to the suggestion list for further use.
    ThinBasic 1.11.6.0 ALPHA - Windows 8.1 x64

  2. #182
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    54
    Posts
    8,636
    Blog Entries
    2
    Rep Power
    10
    thinBasic 1.11.6.0 BETA TESTING update 2020/04/19

    DOWNLOAD URL: https://www.thinbasic.biz/projects/t...c_1.11.6.0.zip

    Added F12 or View/Maximize Edit menu to remove almost all thinAir distractions and remain focused on code editing
    Removed unnecessary tabs in output window, now only process monitor and runtime errors are there. Next will come when ready
    Fixed some theming problems
    Improved process monitor stability giving time to web browser control to load all its dependencies (DOM engine, javascript engine, ...) before using it.
    Petr documented WCon module
    Petr new calltips for TBGL
    fixed bug in TBGL which could cause crash in case of window dragging.
    beautified runtime error reporting and process monitoring
    button to minimize / maximize panel with Process / Runtime error
    insert code block did not respect cursor position
    unnecessary tabs removed, kept just Process / Runtime error
    unnecessary redraws of UI
    stability issues in thinAir
    Other minor changes

    https://www.thinbasic.com/public/products/thinBasic/help/html/version_1_11_3_0_version_1_11_6_0.htm
    Last edited by ErosOlmi; 19-04-2020 at 14:43.
    www.thinbasic.com | www.thinbasic.com/community/ | psch.thinbasic.com
    Win10Pro 64bit - 8GB Ram - Intel i7 M620 2.67GHz - NVIDIA Quadro FX1800M 1GB

  3. #183
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    54
    Posts
    8,636
    Blog Entries
    2
    Rep Power
    10
    Quote Originally Posted by DirectuX View Post
    Hi, just a feedback upon autocomplete feature :

    Type MyPropertiesDefinition
      
      userName as String
      
      function _Create
        me.userName = "Guest" ' autocomplete works (.userName)
      end Function
      
    end Type
    
    dim myTestVar as MyPropertiesDefinition ' autocomplete works (MyPropertiesDefinition)
    
    Reset myTe ' autocomplete does not work (myTestVar)
    
    
    
    
    dim myFilename as String
    
    myFilename = "Document.txt"
    
    MsgBox 0, myF  ' autocomplete does not work (myFilename)
    
    is Dim keyword autocompletion different of Type to manage ?
    Maybe a lead : in notepad++, that uses scintilla, there is such functionality : you type a word with 3 or more characters , then it is automatically added to the suggestion list for further use.
    Actually thinAir is not scanning source code for COMPETE variable declarations and not all variables are inserted into autocompletion list.
    But we will work on that, I want our thinAir experience as great as possible.
    www.thinbasic.com | www.thinbasic.com/community/ | psch.thinbasic.com
    Win10Pro 64bit - 8GB Ram - Intel i7 M620 2.67GHz - NVIDIA Quadro FX1800M 1GB

  4. #184
    Quote Originally Posted by ErosOlmi View Post
    Actually thinAir is not scanning source code for COMPETE variable declarations and not all variables are inserted into autocompletion list.
    But we will work on that, I want our thinAir experience as great as possible.
    Thanks Eros,

    Note in 1.11.6.0 : thinAir_ProcessMonitor.dll triggered Comodo AV as 'generic' , (I already reported as false alert.)
    ThinBasic 1.11.6.0 ALPHA - Windows 8.1 x64

  5. #185
    F12 and output windows is nice in this version !

    On 2020/03/23 :
    During programming, having too many Call Tips on the screen can be disturbing. For this reason, the "showlevel" attribute has been added to the "key" node within the "\ thinBasic \ Lib \ ThinAir \ Syntax \ thinBasic \ thinBasic_CallTips * .xml" files. This new attribute can have a value from 1 to 9 where 1 indicates the maximum importance level while 9 indicates the minimum importance level.



    In this way, each user can set the level of importance of Call Tip he wants to work by hiding or showing the most appropriate level according to his needs



    <Key Name = "Dim" showlevel = "3"></Key>
    Where can the level be set in thinAir ?
    Last edited by DirectuX; 19-04-2020 at 15:31.
    ThinBasic 1.11.6.0 ALPHA - Windows 8.1 x64

  6. #186
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    54
    Posts
    8,636
    Blog Entries
    2
    Rep Power
    10
    Quote Originally Posted by DirectuX View Post
    Thanks Eros,

    Note in 1.11.6.0 : thinAir_ProcessMonitor.dll triggered Comodo AV as 'generic' , (I already reported as false alert.)
    Thanks a lot
    www.thinbasic.com | www.thinbasic.com/community/ | psch.thinbasic.com
    Win10Pro 64bit - 8GB Ram - Intel i7 M620 2.67GHz - NVIDIA Quadro FX1800M 1GB

  7. #187

    Question

    Also,

    in thinAir, in the code panel,
    right click / "Editor syntax colors"

    Does it do something or is it to remove ?
    ThinBasic 1.11.6.0 ALPHA - Windows 8.1 x64

  8. #188
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    54
    Posts
    8,636
    Blog Entries
    2
    Rep Power
    10
    Nothing ... or weird
    I will finish few items I was working on and then will work on thinAir options
    www.thinbasic.com | www.thinbasic.com/community/ | psch.thinbasic.com
    Win10Pro 64bit - 8GB Ram - Intel i7 M620 2.67GHz - NVIDIA Quadro FX1800M 1GB

  9. #189
    Quote Originally Posted by ErosOlmi View Post
    Nothing ... or weird
    I will finish few items I was working on and then will work on thinAir options
    I understand that https://www.thinbasic.com/community/...ll=1#post95625 is not implemented ? (it's ok)

    about thinBasic_CallTips_Module... .xml , are they manually written or do you generates them from the help file ?

    That's because I was looking for the possibility to add such definitions (sort of in-context)

    <Key name = "ARRAY" showlevel = "5">
    				<Description>Array functions.</Description>
    				<Syntax><![CDATA[
    							ARRAY { EXTRACT | ASSIGN | FILL | SCAN | SHIFT | SHUFFLE | SORT | SUM | UNIQUE }
    							]]>
    				</Syntax>
    				<Parameters><![CDATA[
    							]]>
    				</Parameters>
    				<ReturnValue><![CDATA[
    							]]>
    				</ReturnValue>
    				<Remarks><![CDATA[]]></Remarks>
    				<Example><![CDATA[
    						]]>
    				</Example>
    			</Key>
    

    and it works.

    Same for
    #DEFAULT { BOUNDCHECK | DECLARE | PARAMETERS }
    COMBOBOX { DELETE | GET | RESET | SELECT }
    COMBOBOX GET { SELECTED | TEXT }
    CONTROL { ADD | APPEND | APPENDTOTOP | DISABLE | ENABLE | GET | HANDLE | KILL | POST | REDRAW | SEND | SET | SHOW | UNTHEME }
    CONTROL GET { CHECK | CLIENT | LOC | SIZE | TEXT | USER }
    CONTROL SET { CHECK | CLIENT | COLOR | FOCUS | LOC | OPTION | RESIZE | SIZE | TEXT | USER }
    ITERATE { FOR | WHILE | DO }
    USES { "CONSOLE" | "FILE" | "OS" | "MATH" }
    (...)
    ThinBasic 1.11.6.0 ALPHA - Windows 8.1 x64

  10. #190
    Runtime error doesn't display line number correctly :

    Click image for larger version. 

Name:	err80.PNG 
Views:	21 
Size:	19.0 KB 
ID:	10198

    It reminds me of this issue (code browser suggestion) : https://www.thinbasic.com/community/...hp?issueid=583
    ThinBasic 1.11.6.0 ALPHA - Windows 8.1 x64

Page 19 of 24 FirstFirst ... 91718192021 ... LastLast

Posting Permissions

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