Bug in Device IDE (basic4ppc v6.90) ?

Discussion in 'Bug Reports' started by tsppcapp, Jun 5, 2011.

  1. tsppcapp

    tsppcapp Member Licensed User

    I have a module, the size is over 30KB, with 1400 lines of code. Only this big module has this issue............
    The basic4ppc version is 6.90.

    When I edit source code in the Device IDE, the new space will replace character at the cursor INSTEAD OF add new space.


    For example, the following code:

    Dim tStr As String <=== 1 space between "Dim" and "tStr"



    If the cursor is just BEFORE the t of "tStr" and adding a space, it should be:

    Dim tStr As String <=== should be 2 space between "Dim" and "tStr"



    But, the Device IDE causes my code as below:

    Dim Str As String <=== erased the t



    Adding space to this module is OverWrite mode now, NOT Insert mode. Very Very inconvenience.

    If this bug is NOT caused by big module, what will cause this bug?
     
    Last edited: Jun 5, 2011
  2. tsppcapp

    tsppcapp Member Licensed User

    I have just discovered another bigger module with the same problem.


    Module Size: 113KB
    Line of Code: 3040
    # of Sub: 3


    The prior mentioned module info:
    Module Size: 30.5KB
    Line of Code: 1423
    # of Sub: 46


    My application has 7 Modules at this moment. The other 5 modules have no problem.
     
  3. Erel

    Erel Administrator Staff Member Licensed User

    Does it happen on any line or only at that specific point?

    The text input is handled by the native TextBox, not by Basic4ppc.
     
  4. tsppcapp

    tsppcapp Member Licensed User

    It happens at all points for big module.

    Um.... the GUI designer have to play some tricks to eliminate this issue.

    Module over 5000 lines is so common. If basic4ppc will still have new release, I wish it support up to 10000 lines of source code editing in the device/windows IDE.

    I hope the Windows IDE without this issue, but I don't know yet.
     
    Last edited: Jun 6, 2011
  5. Erel

    Erel Administrator Staff Member Licensed User

    Windows Mobile TextBox control is limited to about 64k characters. It is not possible to workaround this limit.

    The desktop IDE doesn't suffer from this limitation.
     
  6. tsppcapp

    tsppcapp Member Licensed User

    Ok, thanks for info.


    I may have to break the big modules to many sub-modules...

    Is there any limit for the number of modules??
     
  7. Erel

    Erel Administrator Staff Member Licensed User

    There is no limit.
     
  8. tsppcapp

    tsppcapp Member Licensed User

    I have just tried to add 50 empty modules, no big issue is found yet.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice