Tom Hacohen
412b203b46
Evas textblock: Fixed removing of format pairs in a rare case.
...
Until now, removing the <ps> when <b><ps></b> would have left the <b></b>
intact instead of removing them.
SVN revision: 61529
2011-07-20 15:45:12 +00:00
Tom Hacohen
bdbc3b8398
Evas textblock: Fixed handling.
...
It now translates to a real nbsp, and not just a space.
SVN revision: 61527
2011-07-20 14:13:33 +00:00
Tom Hacohen
9f7d3f8af8
Evas tests: Added a test to verify last textblock bugfix.
...
SVN revision: 61505
2011-07-19 15:14:40 +00:00
Tom Hacohen
6eb5cdc681
Evas textblock: Fixed a bug when the last paragraph is empty.
...
SVN revision: 61504
2011-07-19 14:32:54 +00:00
Tom Hacohen
1fdf2c67b5
Evas textblock: Adjusted textblock_item_text struct fields.
...
Removed the unused per-item baseline and changed inset to Evas_Coord.
SVN revision: 61443
2011-07-17 13:42:55 +00:00
Tom Hacohen
7f37b26856
Evas textblock: Fixed inline valign.
...
SVN revision: 61442
2011-07-17 13:42:51 +00:00
Tom Hacohen
73a5f2277a
Evas textblock: Fixed a bug in mixed wrapping mode.
...
SVN revision: 61440
2011-07-17 11:15:18 +00:00
Tom Hacohen
6898c688f2
Evas textblock: Fixed linegap.
...
SVN revision: 61438
2011-07-17 10:48:05 +00:00
Tom Hacohen
0af138b6ff
Evas textblock: Fixed a bug in RELSIZE items size calculation.
...
SVN revision: 61436
2011-07-17 10:47:58 +00:00
Tom Hacohen
c47d4bebd8
Evas text: Added _text_props_cluster_next.
...
Started using it in tb.
SVN revision: 61435
2011-07-17 10:47:54 +00:00
Tom Hacohen
4f9010d33d
Evas textblock: Fixed an issue with item formats.
...
They weren't pushed to the format stack which in turn meant </item> popped
unrelated formats causing a mess in the stack.
SVN revision: 61434
2011-07-17 10:47:39 +00:00
Tom Hacohen
4431349f56
Evas textblock: Removed useless code. We should never get there.
...
SVN revision: 61370
2011-07-14 14:25:46 +00:00
Tom Hacohen
00e8406b24
Evas textblock: Fixed cursor_coord_set with rtl/bidi in some cases.
...
Fix it when pressing beyond line boundaries.
SVN revision: 61368
2011-07-14 14:25:39 +00:00
Tom Hacohen
344a98d2a9
Evas textblock: Added a small fix to valign.
...
SVN revision: 61366
2011-07-14 12:47:17 +00:00
Tom Hacohen
77978d965a
Evas textblock: Fixed an issue with in-line valign.
...
Thanks to SeoZ for the report.
SVN revision: 61365
2011-07-14 12:31:24 +00:00
Tom Hacohen
1128519838
Evas textblock: Fixed issue with char/line_coord_set with valign. #2 .
...
After adding some tests, I found out that my previous fix was not enough.
SVN revision: 61362
2011-07-14 08:00:23 +00:00
Tom Hacohen
218042176b
Evas textblock: Fixed issue with char/line_coord_set with valign.
...
SVN revision: 61360
2011-07-14 07:36:45 +00:00
Tom Hacohen
70da0ccdbe
Evas textblock: Fixed a bug in line_coord_set with y<0.
...
SVN revision: 61344
2011-07-13 15:16:38 +00:00
Tom Hacohen
3b71290152
Evas textblock: Fixed a bug in cursor_char_coord_set with coords < 0.
...
SVN revision: 61341
2011-07-13 14:35:12 +00:00
Tom Hacohen
6c48f6f881
Evas textblock: Fixed a bug with scaling items.
...
SVN revision: 61334
2011-07-13 12:49:29 +00:00
Tom Hacohen
9d6d6cedc9
Evas textblock: Fixed style padding calculation.
...
SVN revision: 61253
2011-07-11 16:39:45 +00:00
Tom Hacohen
b55c9032aa
Evas textblock: Fixed an issue with escaped-html-like chars.
...
SVN revision: 61251
2011-07-11 15:56:47 +00:00
Tom Hacohen
5c0443cf79
Evas textblock: Removed useless function.
...
SVN revision: 61238
2011-07-11 12:30:15 +00:00
Tom Hacohen
7c14357161
Evas textblock: Fixed an issue with string_escaped_get.
...
SVN revision: 61235
2011-07-11 11:20:42 +00:00
Tom Hacohen
e01d587617
Evas textblock: Fixed evas_textblock_cursor_format_prev.
...
SVN revision: 61232
2011-07-11 08:56:17 +00:00
Tom Hacohen
8fe3776f8a
Evas textblock: Deprecated evas_textblock_cursor_set_at_format.
...
This was a duplicate of evas_textblock_cursor_at_format_set.
The only difference is the name, and this one doesn't conform to the naming
conventions.
SVN revision: 61231
2011-07-11 08:56:13 +00:00
Tom Hacohen
181eda995a
Evas textblock: Hopefully eliminate all issues with uninit cursors.
...
SVN revision: 61227
2011-07-11 07:23:12 +00:00
Tom Hacohen
0aab125684
Evas textblock: Fixed evas_textblock_cursor_eol_get.
...
SVN revision: 61207
2011-07-10 13:22:42 +00:00
Tom Hacohen
9fe4504574
Evas textblock: Fixed cursor_paragraph_text_length_get.
...
SVN revision: 61206
2011-07-10 13:22:38 +00:00
Tom Hacohen
d30603e37f
Evas textblock: Fixed a bug in _paragraph_char_last with the last par.
...
SVN revision: 61205
2011-07-10 13:22:33 +00:00
Tom Hacohen
ad79facc8a
Evas textblock: Fixed returned position of "clean" cursors.
...
Issue reported by Shilpa.
SVN revision: 61203
2011-07-10 12:18:48 +00:00
Tom Hacohen
70f9cf686f
Evas textblock: textblock_cursor_get's return should not be const.
...
This does not break API as it's more permissive and behavior doesn't change.
SVN revision: 61201
2011-07-10 12:18:42 +00:00
Tom Hacohen
a51b5660a2
Evas textblock: Fixed _cursor_char_coord_set with coords after the eol.
...
SVN revision: 61068
2011-07-06 07:32:23 +00:00
Tom Hacohen
3c6a42b04b
Evas textblock: Fixed weird cursor behavior with empty textblocks.
...
SVN revision: 61067
2011-07-06 07:32:14 +00:00
Tom Hacohen
c357c362fb
Evas textblock: Yet another coord_set fix.
...
SVN revision: 60750
2011-06-28 08:27:26 +00:00
Tom Hacohen
c81a71d18d
Evas textblock: Fixed coord_set and line_coord set in a couple of cases.
...
SVN revision: 60749
2011-06-28 08:13:45 +00:00
Tom Hacohen
4d13de35e9
Evas textblock: Should invalidate before declaring the object as changed.
...
SVN revision: 60353
2011-06-15 14:57:38 +00:00
Tom Hacohen
2da2cd7611
Evas textblock: Fixed scale update.
...
SVN revision: 60352
2011-06-15 14:57:21 +00:00
Tom Hacohen
b403eb49e0
Evas textblock: Fixed a rare issue with line wrapping and white stripping.
...
SVN revision: 60275
2011-06-13 16:04:55 +00:00
Tom Hacohen
04207db6b7
Evas textblock: Fixed charwrap for very small textblocks.
...
SVN revision: 60185
2011-06-10 10:12:51 +00:00
Tom Hacohen
59a22ad090
Evas textblock: Fixed two ellipsis issues.
...
1. If there's no wrapping enabled, do ellipsis even if we still have vertical
room left.
2. Fixed updating of o->have_ellipsis.
SVN revision: 60038
2011-06-07 11:38:07 +00:00
Tom Hacohen
2e28418051
Evas textblock: make charwrap not force wrap in an illegal position.
...
SVN revision: 59965
2011-06-05 10:51:39 +00:00
Tom Hacohen
9bd8ccae80
Evas textblock: Fixed an issue with min size calculation introduced in 59899
...
SVN revision: 59901
2011-06-02 14:52:43 +00:00
Tom Hacohen
5311e3de70
Evas textblock: Fixed min size calculation with right aligned paragraphs.
...
SVN revision: 59899
2011-06-02 14:02:31 +00:00
Tom Hacohen
1dfe691a36
Evas textblock: Start splitting layouting and layouting with rendering.
...
The difference is that we can now avoid doing some things when layouting but
not actually drawing, for example: bidi stuff.
SVN revision: 59871
2011-06-01 14:25:15 +00:00
Tom Hacohen
3e1727f7b1
Evas textblock: Use advance when calculating line breaks and widths.
...
SVN revision: 59870
2011-06-01 14:25:11 +00:00
Tom Hacohen
0a5b27c1bd
Evas textblock: Added a paragraph property to indicate if bidi.
...
SVN revision: 59869
2011-06-01 14:25:08 +00:00
Tom Hacohen
bebbe2253a
Evas textblock: Only use paragraph bidi props in the layout code.
...
Next commits will clear them outside of it. I.e paragraph bidi props are only
valid in the layout code.
SVN revision: 59861
2011-06-01 08:35:25 +00:00
Tom Hacohen
2b23129955
Evas textblock: Paragraphs don't need a x coordinate - remove.
...
SVN revision: 59860
2011-06-01 08:35:21 +00:00
Tom Hacohen
87d196e4bb
Evas textblock: Split _layout to _layout and _layout_pre.
...
This cleans the code a bit and will soon let us do smarter native size
calculation.
SVN revision: 59845
2011-05-31 12:55:57 +00:00