>  if the cursor does not always return to the original place after two gotos 
> then it is an unacceptable change as far as I'm concerned.

I am not certain about the meaning of "the original place".
If you mean the original brace than the proposed approach always returns to the 
same brace after two gotos. If you mean the original column position, I am 
afraid there is no straightforward way to do it.
Let's take a matching pair: brace 1 and brace 2. 
When the cursor is on the "wrong" side of the brace 1, where should "goto" 
place the cursor?
 I believe it should be the correct ("not wrong") side of the matching brace 2. 
Otherwise we have the same problem when two gotoes return to the wrong brace. 
Now, the cursor is on the "not wrong" side of the brace 2. We do another goto. 
As I understand, you suggest to place the cursor to the the "wrong" side of the 
brace 1 to return to the original column position.  
Then we need to keep track of user actions. If there are two consecutive goes 
we should move to the "wrong" side, if there is another sequence of operations, 
we will move to "not wrong" side. Is it what you suggest?


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1998#issuecomment-473707202

Reply via email to