Hello,

I'm working with Java and I've noticed a weird cursor
placement/position issue.

For example, if I type the following Java code snippet:

            try
            {
            }<- With the cursor ending up here

And I press the 'up-arror' key to move the cursor up a line, I would
think that the cursor would end up to the right of the '{' character.
This happens when I am coding in 'C'. But in Java the cursor ends up:

            try
    Here -->{
            }

This is a real pain, because I sometimes forget to move the cursor
again and the code get all formatted weird... What is strange is that
this works just fine when writting 'C' code...

Ideas?

I do have a java.vim indent file with 'setlocal cindent' in it...

Regards,

-Jeff

-Jeff

Reply via email to