Re: [dev] sam/vis command language: how to go to line and column

2022-04-05 Thread Greg Minshall
Quentin, > Command: 9#4 > This goes to column 5 of line 10, in vis. and, for some reason, "normal" people think "we" are strange... :)

Re: [dev] sam/vis command language: how to go to line and column

2022-04-05 Thread Quentin Rameau
Hi Greg, > Hello all you sam and vis users. I am learning sam. I want to do something > like go to column 5 of line 10 of the current file in sam. > > The command 10#5 goes to column 5 of line 11. Command: 9#4 This goes to column 5 of line 10, in vis.

Re: [dev] sam/vis command language: how to go to line and column

2022-04-04 Thread Greg Reagle
On Mon, Apr 4, 2022, at 7:26 PM, Greg Reagle wrote: > How do I go to line and column in sam/vis command language? This > command works: > 10-/$/+/^/+#5 > but there has got to be a better way, right? To maybe answer my own question, this works: 10-+5 but am I missing something? Is there a m

[dev] sam/vis command language: how to go to line and column

2022-04-04 Thread Greg Reagle
Hello all you sam and vis users. I am learning sam. I want to do something like go to column 5 of line 10 of the current file in sam. The command 10#5 goes to column 5 of line 11. This is because the 10 command selects ALL of line 10 (it doesn't just put the cursor at the beginning of line 1