Author Topic: Block Pasting  (Read 4038 times)

Offline SiegeLord

  • Single posting newcomer
  • *
  • Posts: 7
    • SiegeLord's Abode
Block Pasting
« 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

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Block Pasting
« Reply #1 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline SiegeLord

  • Single posting newcomer
  • *
  • Posts: 7
    • SiegeLord's Abode
Re: Block Pasting
« Reply #2 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.  :)