Page 1 of 1

Simple Editor Usage Questions

Posted: Sat Mar 13, 2010 4:20 pm
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.

Re: Simple Editor Usage Questions

Posted: Sun Mar 14, 2010 3:40 pm
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

Re: Simple Editor Usage Questions

Posted: Sun Mar 14, 2010 3:45 pm
by HJarausch
Thanks David.

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

Helmut.

Re: Simple Editor Usage Questions

Posted: Sun Mar 14, 2010 10:47 pm
by DavidGH
Bug reports go to here, but I'll have a look at fixing this one myself.

Re: Simple Editor Usage Questions

Posted: Mon Mar 15, 2010 10:06 am
by eranif
HJarausch wrote:Hopefully Eran will read your reply
You may not know this, but David can fix everything that I can :)

Eran

Re: Simple Editor Usage Questions

Posted: Mon Mar 15, 2010 2:52 pm
by DavidGH
David rotfl at Eran's irony :lol:

Re: Simple Editor Usage Questions

Posted: Thu Mar 25, 2010 1:27 am
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