View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003089 | JEDI VCL | 00 JVCL Components | public | 2005-07-12 10:46 | 2006-03-31 06:22 |
Reporter | anonymous | Assigned To | obones | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.00 | ||||
Target Version | Fixed in Version | 3.30 | |||
Summary | 0003089: Justify Alignment in JvRichEdit | ||||
Description | Let me explain the problem. If I change the Paragraph's alignment to justify... when I save to file and reload the file again (using Lines.SaveToFile and Lines.LoadFromFile), the Paragraph comes back without justifing alignment. Well, looking the JvRichEdit.pas file, I saw in the TJvParaAttributes.SetAlignment procedure this command: if Value = paJustify then FRichEdit.NeedAdvancedTypography; I just found one ocurrence with this command. In debug mode, the SetAlignment isn't called when I Lines.LoadFromFile is used. I did a "poor" test... What I did was to put this command: FRichEdit.NeedAdvancedTypography ... in LoadFromFile procedure. After this change it worked. As I said, this is just a "poor" change. I don't know if this is the rigth way to correct this issue. The same thing happens when LoadFromStream is called! Could somebody with more experience take a look in this issue, please ? Best Regards Thiago A. Flessak | ||||
Tags | No tags attached. | ||||
|
Workaround is to set property AutoAdvancedTypography to False and AdvancedTypography to True (both are properties of TJvRichEdit) |
|
Well, that seems enough to me. If not, please create a NEW issue with a demo application. |
Date Modified | Username | Field | Change |
---|---|---|---|
2005-07-12 10:46 | anonymous | New Issue | |
2005-07-12 12:54 | remkobonte | Note Added: 0007555 | |
2006-03-31 06:22 | obones | Status | new => resolved |
2006-03-31 06:22 | obones | Resolution | open => fixed |
2006-03-31 06:22 | obones | Assigned To | => obones |
2006-03-31 06:22 | obones | Note Added: 0008794 |