Forum > RichMemo

Richmemo and BIG File (4500 lines, 330kb)

(1/2) > >>

TraumTaenzerDieter:
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:
Should work just fine. What system (windows,osx,linux) are you looking into?

TraumTaenzerDieter:
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:
Worked flawlessly with Win10.

Try the following.
Add the second button to the form. Assign the following onclick event

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---procedure TForm1.Button1Click(Sender: TObject);begin  rm.SelectAll;  rm.CopyToClipboard;end; If it works, it might suggest the problem with short-keys handling somewhere.

skalogryz:
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.

Navigation

[0] Message Index

[#] Next page

Go to full version