Huw Davies
|
434feab6a2
|
riched20: Pass and return a paragraph ptr in the paragraph joining function.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-16 22:00:53 +02:00 |
Huw Davies
|
f758d1effd
|
riched20: Pass a run ptr to, and return a para ptr from, the para splitting function.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-16 22:00:50 +02:00 |
Huw Davies
|
d3fb8b29c1
|
riched20: Use paragraph and run ptrs in the paragraph splitting function.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-16 22:00:47 +02:00 |
Huw Davies
|
9b3a538c35
|
riched20: Return a paragraph ptr from the paragraph creation function.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-16 22:00:45 +02:00 |
Huw Davies
|
77f1894f21
|
riched20: Pass a paragraph ptr to the table update flags function.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-16 22:00:42 +02:00 |
Damjan Jovanovic
|
aa1ef09fef
|
riched20: Implement ITextRange/ITextSelection Copy and Cut.
Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-15 20:18:40 +02:00 |
Huw Davies
|
a9a2a68be9
|
riched20: Use a run ptr in GetXForArrow().
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-15 20:18:37 +02:00 |
Huw Davies
|
fe0a7a78db
|
riched20: Remove InternalInsertTextFromCursor().
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-15 20:18:35 +02:00 |
Huw Davies
|
120ee0de1b
|
riched20: Simplify the char offset from run offset function.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-15 20:18:33 +02:00 |
Huw Davies
|
57c2580a73
|
riched20: Simplify the cursor from char offset function.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-15 20:18:30 +02:00 |
Huw Davies
|
1994d21ddb
|
riched20: Use run ptrs in GetCharFormat().
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-15 20:18:28 +02:00 |
Huw Davies
|
579618c0d7
|
riched20: Return a run ptr from the run insert function.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-14 20:32:03 +02:00 |
Huw Davies
|
1797d2124a
|
riched20: Use run ptrs in SetCharFormat().
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-14 20:31:59 +02:00 |
Huw Davies
|
bfac43798b
|
riched20: Don't return the diTextStart paragraph from para_prev().
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-14 20:31:56 +02:00 |
Huw Davies
|
02f4a178ff
|
riched20: Don't mark the diTextStart paragraph as requiring repainting.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-14 20:31:52 +02:00 |
Huw Davies
|
0b01b40a7c
|
riched20: Return a run ptr from the run splitting function.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-14 20:31:49 +02:00 |
Huw Davies
|
a37147c083
|
riched20: Return a run ptr from the run creation function.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-13 18:18:37 +02:00 |
Huw Davies
|
3cade70f14
|
riched20: Pass a run ptr to the run joining function.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-13 18:18:35 +02:00 |
Huw Davies
|
4366c81f49
|
riched20: Use paragraph ptrs in FindPixelPos().
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-13 18:18:33 +02:00 |
Huw Davies
|
586e31a1e6
|
riched20: Use the run and para helpers in the cursor movement functions.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-13 18:18:31 +02:00 |
Huw Davies
|
468609ae7b
|
riched20: Use paragraph and run ptrs in InsertTextFromCursor().
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-13 18:18:29 +02:00 |
Huw Davies
|
a6d41a0391
|
riched20: Use ME_Paragraph ptrs in InternalDeleteText().
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-12 18:44:34 +02:00 |
Huw Davies
|
f648eff162
|
riched20: Use ME_Paragraph and ME_Run ptrs in GetCursorCoordinates().
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-12 18:44:32 +02:00 |
Huw Davies
|
bb50c5a845
|
riched20: Use the table_row_start/end() helpers.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-12 18:44:30 +02:00 |
Huw Davies
|
88cfc04be0
|
riched20: Use ME_Paragraph ptrs for the update range.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-12 18:44:28 +02:00 |
Huw Davies
|
efa45652a9
|
riched20: Use a structure to hold the repaint range.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-12 18:44:26 +02:00 |
Huw Davies
|
1bda5913fc
|
riched20: Use ME_Paragraph ptrs in a few of the table functions.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-09 16:21:33 +02:00 |
Huw Davies
|
c3e6cb5b70
|
riched20: Don't create a display context in InvalidateParagraphRange().
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-09 16:21:33 +02:00 |
Huw Davies
|
b466eefbdf
|
riched20: Move the marked paragraph list to a rbtree.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-09 16:21:33 +02:00 |
Huw Davies
|
3a1aaf2655
|
riched20: Use ME_Paragraph ptrs to iterate in WrapMarkedParagraphs().
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-09 16:21:33 +02:00 |
Huw Davies
|
02cf14cf43
|
riched20: Pass a ME_Paragraph ptr to the marking functions.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-09 16:21:33 +02:00 |
Huw Davies
|
749c80bdaf
|
riched20: Pass a ME_Paragraph ptr to shape_para().
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-08 19:45:35 +02:00 |
Huw Davies
|
7ef2c6c8d5
|
riched20: Pass a ME_Paragraph ptr to itemize_para().
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-08 19:45:35 +02:00 |
Huw Davies
|
1500cfe8fa
|
riched20: Pass a ME_Paragraph ptr to WrapTextParagraph().
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-08 19:45:35 +02:00 |
Huw Davies
|
94e34fa8ee
|
riched20: Store a ME_Paragraph ptr in the wrap context.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-08 19:45:35 +02:00 |
Huw Davies
|
7291506667
|
riched20: Move several of the wrapping functions to use ME_Run directly.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-08 19:45:35 +02:00 |
Huw Davies
|
14044d93fd
|
riched20: Simplify SplitByBacktracking().
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-07 18:40:09 +02:00 |
Huw Davies
|
5dc422d4e5
|
riched20: Simplify FindPixelPos().
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-10-07 18:40:07 +02:00 |
Damjan Jovanovic
|
7a347c20dc
|
riched20: Implement ITextRange::StartOf() and ITextRange::EndOf() for tomCharacter.
Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-08-19 21:30:58 +02:00 |
Damjan Jovanovic
|
55d4cf27af
|
riched20: Implement ITextRange::Move() for tomCharacter.
Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-08-19 21:30:56 +02:00 |
Damjan Jovanovic
|
41915acaed
|
riched20: Implement ITextRange::MoveStart() and ITextRange::MoveEnd() for tomCharacter.
Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-08-19 21:30:53 +02:00 |
Alexandre Julliard
|
0c5ebf4231
|
riched20: Fix potentially uninitialized variable compiler warnings.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-06-08 14:59:30 +02:00 |
Jacek Caban
|
9763f5189f
|
riched20: Include wine/asm.h in editstr.h.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49068
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-05-04 12:39:09 +02:00 |
Jacek Caban
|
650aebadb7
|
riched20: Use __ASM_USE_THISCALL_WRAPPER macro.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-04-27 12:51:05 +02:00 |
Jacek Caban
|
270599cc81
|
riched20/tests: Don't use thiscall wrappers on clang MSVC target.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-04-27 12:50:59 +02:00 |
Gijs Vermeulen
|
55ca155ab8
|
riched20: Turn FIXME into a TRACE for ITextRange::SetRange.
It was implemented in fec6920638 .
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-04-03 17:06:21 +02:00 |
Serge Gautherie
|
7770e26f2d
|
include: Remove now useless forced _WIN32_IE defines.
Signed-off-by: Serge Gautherie <winehq-git_serge_180711@gautherie.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2020-03-20 19:38:38 +01:00 |
Mathew Hodson
|
3808b61967
|
riched20/tests: Fix function names in two ok() messages.
Signed-off-by: Mathew Hodson <mathew.hodson@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-12-03 21:27:13 +01:00 |
Huw Davies
|
ebe31c7919
|
riched20: Don't calculate the para numbering data if numbering is disabled.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-08-19 14:12:35 +02:00 |
Huw Davies
|
cfeb4358b5
|
riched20: Use PatBlt() instead of FillRect() to paint the background area.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2019-08-19 14:12:22 +02:00 |