The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 82: | Line 82: | ||
let foundcontrol = 1 |
let foundcontrol = 1 |
||
while (foundcontrol) |
while (foundcontrol) |
||
+ | ?{ |
||
− | "find the { in this {...} |
||
− | normal [{ |
||
normal k0 |
normal k0 |
||
let tempstring = getline(".") |
let tempstring = getline(".") |
||
Line 90: | Line 89: | ||
let foundstridx=match(tempstring,item) |
let foundstridx=match(tempstring,item) |
||
if(foundstridx >= 0) |
if(foundstridx >= 0) |
||
− | let foundstr = strpart(tempstring, foundstridx, |
+ | let foundstr = strpart(tempstring, foundstridx, 10) . strArrow . foundstr |
let tempstring = "" |
let tempstring = "" |
||
− | let strArrow = " |
+ | let strArrow = "<-" |
let foundcontrol = 1 |
let foundcontrol = 1 |
||
break |
break |