Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: SiegeLord on April 26, 2008, 09:16:06 pm

Title: Block Pasting
Post by: SiegeLord on April 26, 2008, 09:16:06 pm
Hello,

I have noticed that rectangular pasting does not seem to work in Code::Blocks. To clarify, it's what happens after you cut/copy a block selection and hit paste. The correct behaviour is for the paste to happen also in block mode... i.e. if you cut a blocked text, and then paste in the same place you should have the original text back, something that does not happen.

I glanced through the code a bit, and there are functions like PasteRectangular and there are some checks for that in ScintillaWX::Paste(), but clearly they do not work. Is this a bug with Scintilla? Or Code::Blocks itself?

Thanks
Title: Re: Block Pasting
Post by: MortenMacFly on April 27, 2008, 09:02:15 am
Is this a bug with Scintilla? Or Code::Blocks itself?
I once asked the wcScintilla dev about that issue and he said this intended behaviour. So it's not a bug but a feature... ;-)

But... the wxScintialla dev is not more working on the component so literally we have this component fully under our responsibility now :(. So probably it's time for having a look into this.
Title: Re: Block Pasting
Post by: SiegeLord on April 28, 2008, 03:34:27 am
I see. In that case I'll fiddle around with it and see if I can fix it myself and maybe submit a patch to fix this... err... feature.  :)