| View previous topic :: View next topic |
| Author |
Message |
Stephan_02 General User

Joined: 01 Aug 2004 Posts: 18 Location: germany
|
Posted: Tue Nov 02, 2004 1:01 am Post subject: Create textCursor in the Basic-IDE |
|
|
It is possible to create a textcursor in the Basic-IDE? I will read and write the Basic-Code of a macro with another macro.
Stephan |
|
| Back to top |
|
 |
SergeM Super User

Joined: 09 Sep 2003 Posts: 3211 Location: Troyes France
|
|
| Back to top |
|
 |
Stephan_02 General User

Joined: 01 Aug 2004 Posts: 18 Location: germany
|
Posted: Tue Nov 02, 2004 11:22 am Post subject: |
|
|
| Quote: | | it is possible to access to OOBasic container and then add modules and so on |
yes, thats clear
What i need is a solution to locate in which macro is (or stands) the visible Cursor in the Basic-IDE (i need the name of the macro).
My idea was when i can create a textcursor i can interate the Basic-code from line to line and so i can found the line which begin with "sub" ... |
|
| Back to top |
|
 |
Cybb20 Super User


Joined: 02 Mar 2004 Posts: 1569 Location: Frankfurt, Germany
|
Posted: Tue Nov 02, 2004 3:04 pm Post subject: |
|
|
No you cannot do it in the IDE, I think.
But you can parse the xml files, that are contained in OOO_path/user/basic/<yourlib>/<yourmodule>.xba
Hope this helps
Christian _________________ - Knowledge is Power - |
|
| Back to top |
|
 |
|