OS X: How to move a cursor to the beginning of the line?

General questions regarding the usage of CodeLite
CLUser
CodeLite Enthusiast
Posts: 17
Joined: Mon Sep 14, 2015 7:47 am
Genuine User: Yes
IDE Question: C++
Contact:

OS X: How to move a cursor to the beginning of the line?

Post by CLUser »

I'm wondering how to move a cursor to the beginning of the current line by pressing CMD + Left? I don't know why but CodeLite moves a cursor to the previous word. How to change this behavior?
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: OS X: How to move a cursor to the beginning of the line?

Post by eranif »

CodeLite follows the standard _non_ OSX conventions to move cursor to the end of the line, i.e. HOME and END buttons
The only exception is using CMD+UP and CMD+DOWN that on OSX moves the caret to the beginning / end of document

IF you think this is wrong, please report this as bug
Eran
Make sure you have read the HOW TO POST thread
CLUser
CodeLite Enthusiast
Posts: 17
Joined: Mon Sep 14, 2015 7:47 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: OS X: How to move a cursor to the beginning of the line?

Post by CLUser »

eranif wrote:CodeLite follows the standard _non_ OSX conventions to move cursor to the end of the line, i.e. HOME and END buttons
The only exception is using CMD+UP and CMD+DOWN that on OSX moves the caret to the beginning / end of document

IF you think this is wrong, please report this as bug
Eran
I don't have HOME and AND buttons on MacBook Air 11" :) I thought the standart should be: Alt + Left and Alt + Right for the end of the line and the beginning of the line.
It would be better to have an ability to move cursor to the end of the line by pressing CMD + Right and CMD + Left for the opposite direction. I don't think that it's bug but it's just uncomfortable to use :)
CLUser
CodeLite Enthusiast
Posts: 17
Joined: Mon Sep 14, 2015 7:47 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: OS X: How to move a cursor to the beginning of the line?

Post by CLUser »

Is there a way to move cursor to the end of the string and to the beginning of the string in the CodeLight if I don't have HOME and END buttons? :)
CLUser
CodeLite Enthusiast
Posts: 17
Joined: Mon Sep 14, 2015 7:47 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: OS X: How to move a cursor to the beginning of the line?

Post by CLUser »

It's really very uncomfortable feature to use because it's our habbit to move cursor to the beginng of the string by pressing CMD+Left...
I can't use CodeLight because I always use those shortcuts :(
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: OS X: How to move a cursor to the beginning of the line?

Post by eranif »

CLUser wrote:I can't use CodeLight because I always use those shortcuts
I will fix this and will update this thread when a download is available
Eran
Make sure you have read the HOW TO POST thread
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: OS X: How to move a cursor to the beginning of the line?

Post by eranif »

Can you give a short test drive to this build:
http://codelite.org/downloads/codelite/ ... app.tar.gz

Eran
Make sure you have read the HOW TO POST thread
CLUser
CodeLite Enthusiast
Posts: 17
Joined: Mon Sep 14, 2015 7:47 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: OS X: How to move a cursor to the beginning of the line?

Post by CLUser »

eranif wrote:Can you give a short test drive to this build:
http://codelite.org/downloads/codelite/ ... app.tar.gz

Eran
Wow that build works nice! Very comfortable to use :) But again problem with the console it writes me in the output window:
Program exited with return code: 256
But I don't see the Console. I tried to find it somewhere behind all my windows but I couldn't find it nowhere :) I tried to Run few times but it doesn't start Console window..
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: OS X: How to move a cursor to the beginning of the line?

Post by eranif »

CLUser wrote:Program exited with return code: 256
This usually means that you program crashed...

Can you run it from the command line? (i.e from a Terminal window)

Eran
Make sure you have read the HOW TO POST thread
Post Reply