Author |
Topic |
|
PeterPanino
934 Posts |
Posted - Mar 28 2024 : 08:01:32
|
Please look at the attached small test project:
attach/PeterPanino/202432875122_TIERichEditFontTest2.zip 76.59 KB
Please follow these steps:
1. Click the 'Add Text' button to add text
2. Select a portion of text to show the IERichEdit Toolbar
3. Click the left-most Font button on the toolbar to show the Font Dialog
4. In the Font Dialog, don't change anything; just click the OK button: This CHANGES THE FONT SIZE of the selected text!
Is this a bug? |
|
xequte
38653 Posts |
Posted - Mar 29 2024 : 17:30:49
|
Hi Peter
That is a bug in that InsertFormattedText() overload. You can email me for a fix or pass a negative height value to InsertFormattedText().
Nigel Xequte Software www.imageen.com
|
|
|
PeterPanino
934 Posts |
Posted - Mar 29 2024 : 18:39:33
|
Hi Nigel,
Thanks a lot! That was one of the most straightforward bug fixes I've ever had! |
|
|
PeterPanino
934 Posts |
Posted - Mar 30 2024 : 17:36:43
|
TIERichEdit font size editing suggestion:
When changing the font size of a text containing multiple text styles (like the one in the example above), only the font size should be changed while keeping the other styles. This is the way a standard text editor would change the font size.
What do you think? |
|
|
xequte
38653 Posts |
Posted - Mar 30 2024 : 18:15:57
|
Hi Peter
I have implemented this in the current beta.
Nigel Xequte Software www.imageen.com
|
|
|
PeterPanino
934 Posts |
Posted - Mar 31 2024 : 06:32:58
|
Hi Nigel
Thank you for everything, and Happy Easter! |
|
|
PeterPanino
934 Posts |
Posted - Mar 31 2024 : 09:15:47
|
When the user double-clicks a word, the adjacent space character is automatically selected as well:
This sets the ToolBar properties to the character properties of the space character (in the screenshot example above, it sets the font color to BLACK). But when the user double-clicks a word, she supposedly wants to change the font properties of that word and not the font properties of the space character after the double-clicked word. So, when double-clicking a word in TIERichEdit, only the double-clicked word should be selected, and not the character after the word.
What do you think? |
|
|
xequte
38653 Posts |
Posted - Apr 03 2024 : 15:37:13
|
Hi Peter
That is handled by the RichEdit unfortunately (ECO_AUTOWORDSELECTION).
Nigel Xequte Software www.imageen.com
|
|
|
|
Topic |
|