Line numbers in desktop editor

Discussion in 'Basic4ppc Wishlist' started by specci48, May 22, 2007.

  1. specci48

    specci48 Well-Known Member Licensed User

    Hi,

    as I have some very large applications it would be very helpful if there were line numbers in front of each line. I know that the line of the current cusorposition is shown at the bottom of the editor, but if you are searching for a special line (or program position) you have to scroll, click a line, look at the line number, scroll again...
    As an alternative a new "goto line" dialog (e.g. with a shortcut STRG+G) will do.


    specci48
     
  2. Heinz

    Heinz Active Member Licensed User

    yes, this would be usefull. i have compiled a programm and it runs
    well on the PC. but on the device i have got an error. shurly i can
    run it in interpreted modus on the device, but i always must copy
    my sourcefile to the device.
     
  3. JJM

    JJM Active Member Licensed User

    If it's usefull for us i wrote a programm running on windows XP that put the number of the at the beginnig of each line no empty and no comment.
    Try it.

    Bye

    JJ M
     

    Attached Files:

    Last edited: May 27, 2007
  4. specci48

    specci48 Well-Known Member Licensed User

    It doesn't work for me because the french VB4 runtime (vb6fr.dll) is used to run it.
     
  5. dzt

    dzt Active Member Licensed User

    Vb6fr.dll

    Neither for me.

    "The language DLL VB6FR.DLL could not be found"
     
  6. Cableguy

    Cableguy Expert Licensed User

    This maybe a stupid suggestion but have you guys tryed to copy the dll and rename it??
     
  7. specci48

    specci48 Well-Known Member Licensed User

    What should I copy or rename if I havent got anything due to visual basic installed on my pc :confused:
     
  8. Cableguy

    Cableguy Expert Licensed User

    Last edited: May 28, 2007
  9. JJM

    JJM Active Member Licensed User

    here is the dll.

    I hope you can use it.

    Bye

    JJ M
     

    Attached Files:

  10. Cableguy

    Cableguy Expert Licensed User

    Ei JJM any chance you do a re-anotation proggy?
    Somthing like searchil for a controls name and replace it like label1,label2,label3,.....,lableln and replace by ValueLB...
    If you don't understand me I can exemplify more acuratelly...
     
  11. JJM

    JJM Active Member Licensed User

    Hi,

    I post a new version with new features.

    Bye

    JJM
     

    Attached Files:

  12. Cableguy

    Cableguy Expert Licensed User

    Hi,
    Nice of you to include the dll, but i can register it and although the dll is in the same folder as the exec, it still can't "find" it!!!
    BTW: what are the new features?
     
  13. specci48

    specci48 Well-Known Member Licensed User

    You have to copy the dll into your Windows/System32 folder...
     
  14. Cableguy

    Cableguy Expert Licensed User

    Thanks specci48, but still no luck, i coppied it and tryed to run thye app, it errored, then i tryed to register the dll, ad it errors too...

    I'm not so much interested in the numbering but what are the new features?
     
    Last edited: May 29, 2007
  15. derez

    derez Expert Licensed User

    Debugging in text files

    When the program is using text files as additional source and there is a bug in compilation, you do not know where the problematic line is because it is in the text file and there are no line numbers (I could not run this listing program even when the dll was present).
    Also, the names of the subroutines that are in the text file are not shown on the right like those which are in the b4ppc editor.

    David
     
  16. dzt

    dzt Active Member Licensed User

    It is not relevant to the thread, but David I suggest you not to use e-mail as signature, you will help to increase spam, as bots are always searching...
     
    Last edited: Jul 8, 2007
  17. Cableguy

    Cableguy Expert Licensed User

    This only happens if you write directly into the text file....
    If you do like I do, I write the code in the designer and if it works as I want, then I cut it to the text file, Both Subs names AND Error trapping Works!!
     
  18. Erel

    Erel Administrator Staff Member Licensed User

    A MDI (multidocument interface) is planned in the next major update.
    It will allow you to work on several code files from the IDE, each in its own page.
     
  19. derez

    derez Expert Licensed User

    text file source

    cableguy
    I do like you, and when the bug is traced by the compiler I get a sub name which I have to find by manual search in the file, and a line number which I don't know how to locate ! The sub names disappear from the b4p editor after I cut them to the text file.
    david:(
     
  20. Erel

    Erel Administrator Staff Member Licensed User

    Next version will include a mutlidocument interface - you will be able to work on several code files at once.
     
Loading...