Recent

Author Topic: Synedit with word wrap?  (Read 20963 times)

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11454
  • Debugger - SynEdit - and more
    • wiki
Re: Synedit with word wrap?
« Reply #30 on: November 04, 2014, 10:40:33 pm »
If you questions was, what features I think are missing. / If not ask again:

http://wiki.freepascal.org/User:Martin#SynEdit
List is not exclusive, ideas welcome.
Currently not going to happen: Multi-font.
Currently not going to happen: see through background, eg.g for image in background. (unless TWincontrol gets that.)

At the moment I am stretched for time.... But when I get back to it.

As for the code design. I have been trying to make things more modular. But that is still in progress.

« Last Edit: November 04, 2014, 10:43:47 pm by Martin_fr »

typo

  • Hero Member
  • *****
  • Posts: 3051
Re: Synedit with word wrap?
« Reply #31 on: November 04, 2014, 11:09:29 pm »
What do you mean by "currently not going to happen"? This means that you are "against" these?

Well, I can see WordWrap on your list. Maybe center paragraph, align at left and right and justified could be added. Maybe multi-font too.
« Last Edit: November 05, 2014, 12:29:39 am by typo »

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11454
  • Debugger - SynEdit - and more
    • wiki
Re: Synedit with word wrap?
« Reply #32 on: November 05, 2014, 12:31:43 am »
"Currently not ..."

Different font (sizes) would be a fundamental change to SynEdit.

SynEdit is meant as an editor, not word processor. It is optimized for this.
Adding those feature is likely (not necessarily, but likely) having huge performance impact. In that case it may be that the decision goes for 2 branches, keeping the editor, and creating a text processor.

But I may be wrong, that is to be seen if an actual implementation surfaces.



left right center....

Without line wrapping, I only see a point to have the entire text left or right. That would also be good for RTL text)

With wrap, the wrapper can influence how the text is shown.



typo

  • Hero Member
  • *****
  • Posts: 3051
Re: Synedit with word wrap?
« Reply #33 on: November 05, 2014, 01:42:54 pm »
The open source RichEdit does not exist yet?

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Synedit with word wrap?
« Reply #34 on: November 05, 2014, 01:50:39 pm »
AFAIK not one that is cross platform and suitable for inclusion into Lazarus. There are - IIRC - various richedit controls available that do work with Lazarus. Edit: see e.g. http://wiki.lazarus.freepascal.org/RichMemo
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

typo

  • Hero Member
  • *****
  • Posts: 3051
Re: Synedit with word wrap?
« Reply #35 on: November 05, 2014, 03:30:31 pm »
Yes, RichMemo seems to be good. I use it. I use SynEdit only for an algorithmic editor, indeed.
« Last Edit: November 05, 2014, 04:35:49 pm by typo »

 

TinyPortal © 2005-2018