Search found 10 matches
- Tue Nov 29, 2011 3:04 pm
- Forum: Support
- Topic: height of paragraph at position
- Replies: 3
- Views: 13372
- Mon Nov 28, 2011 11:04 pm
- Forum: Support
- Topic: height of paragraph at position
- Replies: 3
- Views: 13372
height of paragraph at position
What is the best way to get the pixel height of a paragraph at any given point in the document? I assume this would be two steps -- 1. Get the paragraph and 2. find it's height.
Thanks.
Thanks.
- Wed Nov 16, 2011 4:07 pm
- Forum: Support
- Topic: Customizing word wrap
- Replies: 1
- Views: 10049
Customizing word wrap
We have need to override how wordwrapping is calculated in the document. One option might be to implement a "minimum raggedness" wrapping algorithm, like described here: http://en.wikipedia.org/wiki/Word_wrap#Minimum_raggedness -- this could solve our needs. However, ideally, I would like to be able ...
- Mon Nov 07, 2011 8:12 pm
- Forum: Support
- Topic: Prevent wordwrap from breaking long words
- Replies: 1
- Views: 10005
Prevent wordwrap from breaking long words
Default behavior of RichView is to break words if they are wider than the control for wordwrapping. Is there a way to prevent this? I need an option to keep long words together even if they are too wide for the width of the control. In other words, I don't want wordwrap to break inside of words.
- Wed Oct 12, 2011 3:47 pm
- Forum: Support
- Topic: Fastest way to clone data of one RVE to another?
- Replies: 2
- Views: 11845
Re: Fastest way to clone data of one RVE to another?
I should add that the two controls will have the same sizes, so formatting shouldn't be necessary when the data is cloned.blsstdok wrote:What is the fastest way to do this, ideally avoiding any formatting?
- Tue Oct 11, 2011 8:28 pm
- Forum: Support
- Topic: Fastest way to clone data of one RVE to another?
- Replies: 2
- Views: 11845
Fastest way to clone data of one RVE to another?
I have two richviewedits. I want to clone the content of one to the other, including styles, etc, but do not want them to *share* anything (no common pointers/classes/etc).
What is the fastest way to do this, ideally avoiding any formatting?
What is the fastest way to do this, ideally avoiding any formatting?
- Tue Sep 06, 2011 6:05 pm
- Forum: Support
- Topic: Delphi XE2
- Replies: 17
- Views: 73412
- Tue Sep 06, 2011 2:03 pm
- Forum: Support
- Topic: Delphi XE2
- Replies: 17
- Views: 73412
- Mon Jul 18, 2011 6:29 pm
- Forum: Support
- Topic: Force paint message from every item
- Replies: 1
- Views: 9507
Force paint message from every item
I need every item in the document to receive a paint message, not just the items in an invalidation rect. This is because I am rendering special effects like shadows, which can paint outside of their TextExtent. I am handling the painting myself and can deal with checing the clipping rect on my own ...
- Wed Jul 06, 2011 7:25 pm
- Forum: Support
- Topic: invalidation on edit
- Replies: 1
- Views: 9051
invalidation on edit
When text is typed into the editor, it seems that the entire paragraph is invalidated with each keypress. I am doing a lot of CPU-expensive custom drawing and things get real slow when a paragraph becomes more than a few words; especially when it is more than two or three lines. So, two questions: 1 ...