Recent

Author Topic: TMEMO Feature Request  (Read 8197 times)

jshand2010

  • Full Member
  • ***
  • Posts: 230
TMEMO Feature Request
« on: March 26, 2012, 11:16:47 pm »
Since it already has the property of MaxLength = 0 being an infinite memo list of strings.  having the new property of MaxLineLength would benefit those who write extremely long lines of infinite text.  being unlimited, would be a great advantage.  please implement this property and feature

thanks heaps
OpenSUSE Tumbleweed x86_64, Lazarus 2.0.0RC3 fixes branch, fpc 3.2.0 fixes branch

IPguy

  • Sr. Member
  • ****
  • Posts: 385
Re: TMEMO Feature Request
« Reply #1 on: March 26, 2012, 11:18:40 pm »
Best place to request this is http://bugs.freepascal.org/view_all_bug_page.php
and tag it as feature in the Severity field.

jshand2010

  • Full Member
  • ***
  • Posts: 230
Re: TMEMO Feature Request
« Reply #2 on: March 26, 2012, 11:32:49 pm »
i have just added it to the bug list as a feature.  i remember last time i got told off for leaving a feature request there.  not sure why, but you know.  these guys can be crazy
OpenSUSE Tumbleweed x86_64, Lazarus 2.0.0RC3 fixes branch, fpc 3.2.0 fixes branch

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: TMEMO Feature Request
« Reply #3 on: March 27, 2012, 09:05:05 am »
Might be that you were too vague in your description, didn't enter all infomrtion, didn't specify why the feature was needed or misclassified the request.

Those guys might be crazy but unless you intend to program fixes yourself in your own source tree, you still need them... It helps if you make their life as easy as possible, preferably with patches, failing that with an idea how the feature could be implemented.

Good luck with the feature request...
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 6908
  • Debugger - SynEdit - and more
    • wiki
Re: TMEMO Feature Request
« Reply #4 on: March 29, 2012, 12:12:50 am »
About http://bugs.freepascal.org/view.php?id=21574

There are over 1000 open issues(over 200 feature requests).

And there are only a about a dozen developers, all of them working on Lazarus in there spare time only.

There are also others who contribute once in a while...

Sometimes you get lucky, and an issue is fixed within hours, sometimes it takes years.


If it is all that important, you can post a bounty
  http://wiki.lazarus.freepascal.org/Bounties
But even then, it may take a while.



BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: TMEMO Feature Request
« Reply #5 on: March 29, 2012, 09:45:35 am »
In addition to what Martin said (and perhaps obvious): issues with attached patches that provide that functionality do tend to get handled quicker.
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

ludob

  • Hero Member
  • *****
  • Posts: 1173
Re: TMEMO Feature Request
« Reply #6 on: March 29, 2012, 09:59:29 am »
TMemo on windows is implemented as multi line edit control. This edit control has limitations as explained here: http://support.microsoft.com/kb/74225

ludob

  • Hero Member
  • *****
  • Posts: 1173
Re: TMEMO Feature Request
« Reply #7 on: March 29, 2012, 10:41:32 am »
You could use RichMemo http://wiki.lazarus.freepascal.org/RichMemo that has higher limits on windows. There are many richedit versions on windows so the limits can vary. On XP there is a display limit of 32K pixels (5000-6000 chars, default font and size). The pixel limit won't split the line though, just cut off display.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 6908
  • Debugger - SynEdit - and more
    • wiki
Re: TMEMO Feature Request
« Reply #8 on: March 29, 2012, 10:53:42 am »
I just tested on Windows and I was able to enter a single line of 1 million chars.

The problem is, that even with WordWrap off TMemo does wrap.

And the 2nd problem is: I can copy (select all) and paste to another edit => it really is one line. I read them to the LCL, it is many lines of 1024 chars.

I have no idea why.

eny

  • Hero Member
  • *****
  • Posts: 1617
Re: TMEMO Feature Request
« Reply #9 on: March 29, 2012, 08:24:17 pm »
I just tested on Windows and I was able to enter a single line of 1 million chars.
I bet you didn't type all these characters separately :)

Why would one need a line in an editor that is 1M characters long?
All posts based on: Win10 (Win64); Lazarus 2.0.10 'stable' (x64) unless specified otherwise...

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 6908
  • Debugger - SynEdit - and more
    • wiki
Re: TMEMO Feature Request
« Reply #10 on: March 29, 2012, 09:11:04 pm »
I just tested on Windows and I was able to enter a single line of 1 million chars.
I bet you didn't type all these characters separately :)
Of course I did, I used Shakespeare first folio as text (all from memory of course)

SCNR ;->


 

TinyPortal © 2005-2018