- 08 Haz, 2018 40 kayıt (commit)
-
-
Michael Stahl yazdı
Change-Id: I1201e84b231be17e6a5ec2294acfb1e3111c9ada
-
Michael Stahl yazdı
Change-Id: Icff1b1aac20a0a6d3f957e7025f6a08a6d0edbee
-
Michael Stahl yazdı
Change-Id: I7425bac439df7518b7fe1b62cd6f3fd7a9f88fec
-
Michael Stahl yazdı
Change-Id: Ie13119d456fa6fe3919871cc541a9ad927b5982e
-
Michael Stahl yazdı
The simplest way to deal with the problem that wrong-lists are on the SwTextNode is to just take them as-is and iterate over them in a merged SwTextFrame. This may give results that users may disapprove of, but i'm not sure how likely it is in practice to e.g. start a delete redline in the middle of a word and end it in another paragraph. Perhaps it would be better to move the SwWrongLists to the SwTextFrame, but that is probably more work. Also add missing SwTextNode function overloads for "const", so we don't need mutable SwTextNodes. Change-Id: I9742e3793abe090cf58ad3f27b51e89be86a1964
-
Michael Stahl yazdı
... is created or updated; there is already a SwUpdateAttr hint being sent from SwRangeRedline::InvalidateRange(), but it doesn't contain any info about the redline other than the position; add a new hint sw::RedlineDelText and send it from there in addition to the existing one. Change-Id: I37150b2a5ca6a0e70ea4a5788f720f8522227631
-
Michael Stahl yazdı
... adjusting hints, as the latter sends RES_UPDATE_ATTR hints and the ModelToViewPos() asserts because the mergedText is too short. Change-Id: I48bf6388ce69f3294decf96dc6dd11ba3bf4bc7b
-
Michael Stahl yazdı
These currently get passed the current shell cursor position, which seems quite pointless as the caller DoIdleJob_ can handle that case in one place. Instead, pass in the actual node that should be checked, since the SwTextFrame can have multiple nodes now. Change-Id: Id7a8a7a2a5a3eaeb700963eff5147d37b194a953
-
Michael Stahl yazdı
... and use it in SwTextPainter::CheckSpecialUnderline() Change-Id: I904cb955f0bc8dc1f92612b47dc129922865c198
-
Michael Stahl yazdı
Very tricky ... i'd be surprised if this actually works :-/ Change-Id: I309db66e64838aaf92609313d04c4fe3d096c6ee
-
Michael Stahl yazdı
Change-Id: I3541fa79ff48f6829fc459ab5bd8224c29c51cbb
-
Michael Stahl yazdı
SwTextNode's GetDep() may be a WriterMultiListener, which isn't even a node. SwTextNode has GetTextNodeForParaProps()/GetTextNodeFirst(). Change-Id: Ica177a6a3cf7c886c9a8d2733fb9cb452a475450
-
Michael Stahl yazdı
Change-Id: I648810c1d5549d700a64f120a52416a951d56dca
-
Michael Stahl yazdı
Change-Id: I0e4961acc191a764db74ede75e140e63ad1318a0
-
Michael Stahl yazdı
Change-Id: I42924448749385bb0e5bc2c187e37053e104c0da
-
Michael Stahl yazdı
Change-Id: I6787ec787190ad297717ab01a78414cac34aa2cb
-
Michael Stahl yazdı
Change-Id: I551d37c961149bb043bed4cde7b52822f5e3db81
-
Michael Stahl yazdı
Change-Id: Iaefed6ebee4f4cf47697c174abc275b1287f643f
-
Michael Stahl yazdı
Change-Id: I3cca2091f4a3fe903bbd606c93a368662e997899
-
Michael Stahl yazdı
Change-Id: I5860b9791c0839d4b83eec6a3db0b2d1926d2ccd
-
Michael Stahl yazdı
Change-Id: Ia652ff428c232b9307e41da8f6b9648f486f7179
-
Michael Stahl yazdı
This thing uses 2 items, a normal one and RES_BREAK, so they need to be passed in separately, a merged text frame does not necessarily have any item set with the matching items. Change-Id: I5e50ac60137ba8d94adeaee2ef015551d8a3bdd8
-
Michael Stahl yazdı
SwFrame::GetAttrSet() can work for merged text frame for most paragraph/frame items, but not for these two, which are special cased in the node joining code so they're always from the first node. Change-Id: Ib63203a67e15e208aa50bc46ae0f5a82d1b9081c
-
Michael Stahl yazdı
Change-Id: I13fde1bc95211ecbf5ff2a3f54cd85f41b5418d7
-
Michael Stahl yazdı
... because it's using GetNode(). Change-Id: Iba99a2c4213d389e8b281b689f7bcfc6027baf28
-
Michael Stahl yazdı
Use GetDep() instead, which is a unique identifier in sw. Change-Id: I66e60a175165673c2962124fdec691b03a5f0e4a
-
Michael Stahl yazdı
Change-Id: I4539ef0a7dc04de1c87cf6f54ca319dbdc719755
-
Michael Stahl yazdı
Change-Id: I3b128fe797e8fd6989821cfd540dc5e630e74d37
-
Michael Stahl yazdı
Such a lovely class! Change-Id: Id03795b1c62c35829cab093198daf082ca78d174
-
Michael Stahl yazdı
... the MergedPara here. Change-Id: I1a76c9d4a13277987218426a787b5b1b421d36ea
-
Michael Stahl yazdı
Change-Id: I7bdf58d1f2233ab77a1b774a99aa068fe9438ae8
-
Michael Stahl yazdı
Change-Id: Ied6e80e30ced49b11952c44c36e86e8575e42c0f
-
Michael Stahl yazdı
Change-Id: I2378dd76100d335e24ec21f4cfe62afa61b4e0e4
-
Michael Stahl yazdı
Change-Id: I8621546fcff000e93b3ea0593a5f1f8df94811a4
-
Michael Stahl yazdı
Change-Id: Id15b867e8a275529822bab8ce82da5eb2eeb484b
-
Michael Stahl yazdı
Change-Id: I655431923f24bb04826a814d7d8e59dea4bb7fc6
-
Michael Stahl yazdı
A bit hairy sometimes... Change-Id: Ic4b55bce4939001fe18f99d4902c7b5ef52f1fb7
-
Michael Stahl yazdı
Change-Id: I304b7b3fe92c7614e3a5bc887407487751423e71
-
Michael Stahl yazdı
Change-Id: I69e438575e76f67701d951dfeab0fd7fdda0e66f
-
Michael Stahl yazdı
Change-Id: I660953a6e101aae0f6dad38b74d0a5fa8f254221
-