|Anonymous | Login | Signup for a new account||2019-02-18 02:09 CET|
|Main | My View | View Issues | Change Log | Roadmap | Docs|
|Viewing Issue Simple Details|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0003089||[JEDI VCL] 00 JVCL Components||minor||always||2005-07-12 10:46||2006-03-31 06:22|
|Summary||0003089: Justify Alignment in JvRichEdit|
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
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:
... 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 ?
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.
|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|
|Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group|