Hi all,
sorry for duplicating, but I just realised that the code snippet is not
visualised correctly, therefore I re-write my topic with an attachment

With Snapshot 47, open the attachment (spaces at the beginning of each line
are essential)

Imagine you want to indent all at once the code in curly brackets.
1) place the cursor on the second line, on the first letter "n", just
underneath the "i" of "if"
2) Press "Ctrl-v" and enter Visual Block. Press "j" in sequence to
highlight
until the last-but-one line
3) press ">"
4) Look at what happens at the 4th line. The indented version of

nonzeroValues[numNonzeroEntries]  = nu*lambda2X;

reads

onzeroValues[numNonzeroEntries]  = nu*lambda2X;

In other words, the initial "n" of this line has been eaten. Do I do
something wrong or is this a bug?

Best.

Daniele

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Attachment: codeSnippet.cxx
Description: Binary data

Reply via email to