To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=64686
                  Issue #:|64686
                  Summary:|Basic editor does not respect word boundaries as
                          |Basic runtime does (in particular: _ is treated
                          |differently)
                Component:|framework
                  Version:|680m163
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P4
             Subcomponent:|scripting
              Assigned to:|ab
              Reported by:|fs





------- Additional comments from [EMAIL PROTECTED] Mon Apr 24 03:11:02 -0700 
2006 -------
Consider the following Basic fragment:

Sub impl_doSomething( _foo as Object )
  ...
End Sub

At runtime, this is perfectly valid Basic: Both impl_doSomething as well as _foo
are valid identifiers, so the macro runs fine.

While impl_doSomthing, for the runtime, is a single identifier, it isn't for the
editor: Place the cursor before the word, and press Ctrl-Shift-Cursor-Right.
This is expected to select the word right of the cursor position. This works
only to the extent that "impl" selected, not the while identifier.

Similar, the debugging facilities are also fooled by underscores: If, at
runtime, you place a breakpoint in the function impl_doSomething, and hover over
the "_foo" identifier, then the IDE won't display the content of "_foo". I
suppose that similar to above, only "foo" is recognized as complete word.


In short: I suggest letting the "word recognition" algorithm in the editor
recognize and respect the underscore "_" character.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to