Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Buggy Macro-Feature in Wedit

1 view
Skip to first unread message

Heiko Vogel

unread,
Nov 26, 2009, 12:42:08 PM11/26/09
to
Hello Jacob,

I've played a little bit with the Macro-Feature of Wedit, because
I'm lazy, too.

I've defined [STRG]+i to create a macro for the if-Statement. I
wrote:

if (|){

} // end of if


The "|" ist the position of the cursor at the end of the "recording".


Then I tested it in a source at line 777. It worked as it should
and the cursor was set between "(" and ")", too. Cool.


Just for fun, I tryed it again - at line 780, with a TAB-Space
generated by wedit on the left. Then the hell brakes loose...

[TAB]if (){
if (){
if (){
if (){

[...] // oh oh

if (){
if (){
if (){
if ()


Then Wedit gave up and showed a Messagebox with something like
"recovery from error"and "save your work". The last if-Statement
is located at line 7722. The rest of my program can now be found
below this line. Nice.

Maybe you can reproduce the error, if you simply press [STRG]+i
sometimes without doing anything else. After two times, I've got
this, were "|" is the location of the cursor:


[TAB][TAB]ifif (|){
if (
} // end of if){

} // end of if (){

} // end of if

If I then press [STRG]+i again, the hell brakes loose.

Wedit Win32 Version 4.0
Compiled Wed Sep 16 12:28:00 2009


bfn hevo

0 new messages