Recent

Author Topic: Richmemo and BIG File (4500 lines, 330kb)  (Read 3073 times)

TraumTaenzerDieter

  • New Member
  • *
  • Posts: 25
Richmemo and BIG File (4500 lines, 330kb)
« on: April 11, 2016, 07:41:10 pm »
Hi all,
how can I get the Ctrl+C (Copy) and Ctrl+V (Paste)
work in such a big file (see headline) ?
With 4300 lines (320kb) both still work!?

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2285
    • havefunsoft.com
Re: Richmemo and BIG File (4500 lines, 330kb)
« Reply #1 on: April 11, 2016, 10:05:16 pm »
Should work just fine. What system (windows,osx,linux) are you looking into?
Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

TraumTaenzerDieter

  • New Member
  • *
  • Posts: 25
Re: Richmemo and BIG File (4500 lines, 330kb)
« Reply #2 on: April 11, 2016, 10:32:17 pm »
I am on Windows 7 32 and 64bit,
both the same problem.
Lazarus 1.6 + fixes and latest RichMemo
Attached a (packed) Testprogram with TestFile (no .Exe)
Just open the file, mark a line,
press ^C and then ^V anywhere: nothing happens

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2285
    • havefunsoft.com
Re: Richmemo and BIG File (4500 lines, 330kb)
« Reply #3 on: April 11, 2016, 10:39:48 pm »
Worked flawlessly with Win10.

Try the following.
Add the second button to the form. Assign the following onclick event
Code: Pascal  [Select]
  1. procedure TForm1.Button1Click(Sender: TObject);
  2. begin
  3.   rm.SelectAll;
  4.   rm.CopyToClipboard;
  5. end;
  6.  
If it works, it might suggest the problem with short-keys handling somewhere.
Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2285
    • havefunsoft.com
Re: Richmemo and BIG File (4500 lines, 330kb)
« Reply #4 on: April 12, 2016, 02:45:11 am »
nevermind on my last comment. I finally got what you meant by "^V anywhere".

The issue with limit of the text is fixed with r4617.
« Last Edit: April 12, 2016, 02:48:13 am by skalogryz »
Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

TraumTaenzerDieter

  • New Member
  • *
  • Posts: 25
Re: Richmemo and BIG File (4500 lines, 330kb)
« Reply #5 on: April 12, 2016, 07:59:20 am »
YES, thanks, it works on Win 32 and 64 !!
« Last Edit: April 12, 2016, 08:58:01 am by TraumTaenzerDieter »