Results 1 to 8 of 8

Thread: TB_SpellChecking-Utility

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    thinBasic MVPs
    Join Date
    Oct 2012
    Location
    Germany
    Age
    55
    Posts
    1,554
    Rep Power
    174

    TB_SpellChecking-Utility

    I made a new spellchecker to check thinBasic-Files for bugs and typos - (the old one was pretty slow)
    - but this time I avoided the use of String-methods as Len and Mid$ etc...

    MinVersion 1.9.6.0 or 1.9.7.0 - when came the drag-in to TBGL?
    It works the following:

    Run the script from thinAir,
    drag any .tBasic, .tBasicC, .tBasicU or .inc -files from windows-explorer or from desktop into the spellchecker-window. Check starts immediately and stops if some serious problem in script structure is found.

    It checks for #IF+ If + Select + Do/Loop + While/Wend + Repeat/Until + For/Next + Type + Union + Sub/Function-nesting levels, also checks for even parenthesis & quotes, and for typos and a few things more. So if some expression is used just once per script it will inform about some dubious expression that you might to check back for.
    It will inform you, if found anything - click on the information to display the codeline then for further examinations.

    Only one problem to which I have no solution yet: It complains uneven paranthesis if the script uses line-continuation without underscore.



    _____________________________________________________________________________________

    Edit: @Eros
    (who else could answer this question?)

    Is there a way to add in some user-defined function or utility as this to thinAir? So I could instantly run the spellcheck from within thinAir on the current active scripts text without cumbersome actions as save script, change to spellchecker, start it, (search folder of script to check) dragging that there - checking here and then back to thinAir for corrections

    - I imagine like some menuitem on Tools\Utilities\"User defined" which can be choosen through thinAir-options - set User-defined-utility-Path + Command$ (OS_GetCommands) there then thinAir "knows" if to pass script-filename & path or plain text-string of current script or whatever (list of all current opened scriptnames, crlf-delimited?) as command to the user-utility...... ok, I would rewrite it, so you pass some tB-script as String to the function and get some $crlf-delimited error-report back?
    Attached Files Attached Files
    Last edited by ReneMiner; 29-05-2013 at 09:15.
    I think there are missing some Forum-sections as beta-testing and support

Similar Threads

  1. amd dual core utility
    By kryton9 in forum General
    Replies: 0
    Last Post: 28-12-2007, 04:04
  2. New Utility
    By kryton9 in forum 3rd party tools
    Replies: 17
    Last Post: 05-05-2007, 01:49
  3. NEW ThinAIR utility (TBCode to Clipboard)
    By RobertoBianchi in forum thinAir General
    Replies: 2
    Last Post: 31-05-2006, 14:19
  4. Simple MCI utility
    By Petr Schreiber in forum Win API interface
    Replies: 2
    Last Post: 24-05-2006, 21:06

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
  •