Simple Editor Usage Questions

General questions regarding the usage of CodeLite
HJarausch
CodeLite Veteran
Posts: 98
Joined: Thu Feb 18, 2010 10:54 pm
Genuine User: Yes
IDE Question: C++
Contact:

Simple Editor Usage Questions

Post by HJarausch »

Hi,

I have some very simple questions on the CodeLite's editor usage.

First, is there a means to copy a word with very few mouse clicks (without pull down menus).
In many GUIs I can select text by dragging or double clicking with the left mouse button and
copy it by clicking the middle mouse elsewhere. This doesn't seem to work with CodeLite as configured
by me. (Where can I find a description of mouse actions?)

Second, is there a means to indent/dedent a block previously select with the mouse?

Many thanks for some hints,
Helmut.
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Simple Editor Usage Questions

Post by DavidGH »

Hi Helmut,

As you say, atm CodeLite doesn't seem to support the X primary selection, only the clipboard. wxStyledTextCtrl manages to support both, so this is a CodeLite bug and should be fixable.

You can indent/unindent selected text by using <Tab> and <Shift-Tab>.

Regards,

David
HJarausch
CodeLite Veteran
Posts: 98
Joined: Thu Feb 18, 2010 10:54 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Simple Editor Usage Questions

Post by HJarausch »

Thanks David.

Hopefully Eran will read your reply or should I create a bug report (where?).

Helmut.
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Simple Editor Usage Questions

Post by DavidGH »

Bug reports go to here, but I'll have a look at fixing this one myself.
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Simple Editor Usage Questions

Post by eranif »

HJarausch wrote:Hopefully Eran will read your reply
You may not know this, but David can fix everything that I can :)

Eran
Make sure you have read the HOW TO POST thread
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Simple Editor Usage Questions

Post by DavidGH »

David rotfl at Eran's irony :lol:
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Simple Editor Usage Questions

Post by DavidGH »

Hi again Helmut,

It was actually easy to fix: the code was present already but commented out, as apparently using the primary selection clears the clipboard in wxGTK-2.8.

Eran has now committed the patch, in r3975. But it will only operate for builds on >=wxGTK 2.9. Fortunately CodeLite now works well when built on the latest svn trunk :) .

Regards,

David
Post Reply