Since the subject title is nice and generic, and fits exactly with what I was thinking about the other day, can DOpus show line numbers in the Script editor? If not, this would be a nice feature. When a vbscript throws an error, it mentions a line number, but these obviously have no use within the corresponding line number in the editor. Obviously DOpus would have to not count its own directive lines.
You can push Ctrl-G in the script editor to jump to a line by number.
(I don't think "the subject line could be reinterpreted to apply to my question as well" stops something being off-topic for a thread, so I've split the two threads and given each a more specific subject line. It would get really confusing if both conversations continued in the same thread, and someone searching for the answer to your question who found the thread and read the first post would not then continue reading and find the answer.)
i was being cheeky; I'll use a new post next time.
Actually, Ctrl-G does not work correctly.
- It is not active immediately upon entering a script - you have to click in the edit area.
- it does not go to the correct line as the script sees line numbers, since it doesn't take into account DOpus directives. For example, a script error shows line 19, position 4, but the actual error is at line 25. It is not clear which lines to ignore, as the non-script lines counted do not add up to the difference between 25 and 19 in an obvious way. This is the real problem. A script-centric line number column would be very useful.
Are we taking about the rename dialog or the button editor?
Button editor.
That's something we'll be improving in the future, tied to some other changes which aren't ready yet.
Cheers, mate.