Rectangular selection

Request Features and Feature Changes

Rectangular selection

Postby Infinity77 » Thu Apr 26, 2012 8:54 am

Hi Cody,

I have been using Editra for a while and I like it a lot. Very nice job!

One thing I got used to, in the past, was to be able to use rectangular selection (i.e., block selection mode in TextPad). I know I can do something similar in Editra holding down the "Alt" key, but I seem to be unable to replicate what you can see in the attached image. This is probably because the rectangular selection in the StyledTextCtrl can only select regions where there are characters or spaces, not arbitrary rectangular regions.

Is this the case or am I missing something? If I am correct, do you think it would be possible to tweak STC to achieve the same behaviour?

Thank you, keep up the good work.

rectangular_selection.png (62.95 KiB) Viewed 2128 times
Limited User
Posts: 1
Joined: Thu Apr 26, 2012 8:40 am

Re: Rectangular selection

Postby cody » Thu Apr 26, 2012 3:40 pm

Hi Andrea,

The version of Scintilla used by wxPython 2.8 is quite limited in this regard and even worse in how the pasting is handled afterwards.

In 2.9 the newer version of Scintilla has alot of new APIs in this regards and I beleive it can support the highlight of the virtual space past the line endings. Unfortunatly my experience with the stability of 2.9 is still pretty flaky but I can look into some optional code that can run when using wx2.9.

User avatar
Site Admin
Posts: 1315
Joined: Mon Oct 09, 2006 2:49 am
Location: United States

Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 1 guest