Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
ba0d6bd0
Commit
ba0d6bd0
authored
Jan 27, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Remove a couple of no longer used functions.
parent
08351071
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
45 deletions
+0
-45
paint.c
dlls/riched20/paint.c
+0
-45
No files found.
dlls/riched20/paint.c
View file @
ba0d6bd0
...
...
@@ -94,51 +94,6 @@ void ME_PaintContent(ME_TextEditor *editor, HDC hDC, BOOL bOnlyNew, RECT *rcUpda
ME_DestroyContext
(
&
c
);
}
static
void
ME_MarkParagraphRange
(
ME_TextEditor
*
editor
,
ME_DisplayItem
*
p1
,
ME_DisplayItem
*
p2
,
int
nFlags
)
{
ME_DisplayItem
*
p3
;
if
(
p1
==
p2
)
{
p1
->
member
.
para
.
nFlags
|=
nFlags
;
return
;
}
if
(
p1
->
member
.
para
.
nCharOfs
>
p2
->
member
.
para
.
nCharOfs
)
p3
=
p1
,
p1
=
p2
,
p2
=
p3
;
p1
->
member
.
para
.
nFlags
|=
nFlags
;
do
{
p1
=
p1
->
member
.
para
.
next_para
;
p1
->
member
.
para
.
nFlags
|=
nFlags
;
}
while
(
p1
!=
p2
);
}
static
void
ME_MarkOffsetRange
(
ME_TextEditor
*
editor
,
int
from
,
int
to
,
int
nFlags
)
{
ME_Cursor
c1
,
c2
;
ME_CursorFromCharOfs
(
editor
,
from
,
&
c1
);
ME_CursorFromCharOfs
(
editor
,
to
,
&
c2
);
ME_MarkParagraphRange
(
editor
,
ME_GetParagraph
(
c1
.
pRun
),
ME_GetParagraph
(
c2
.
pRun
),
nFlags
);
}
static
void
ME_MarkSelectionForRepaint
(
ME_TextEditor
*
editor
)
{
int
from
,
to
,
from2
,
to2
,
end
;
end
=
ME_GetTextLength
(
editor
);
ME_GetSelection
(
editor
,
&
from
,
&
to
);
from2
=
editor
->
nLastSelStart
;
to2
=
editor
->
nLastSelEnd
;
if
(
from
<
from2
)
ME_MarkOffsetRange
(
editor
,
from
,
from2
,
MEPF_REPAINT
);
if
(
from
>
from2
)
ME_MarkOffsetRange
(
editor
,
from2
,
from
,
MEPF_REPAINT
);
if
(
to
<
to2
)
ME_MarkOffsetRange
(
editor
,
to
,
to2
,
MEPF_REPAINT
);
if
(
to
>
to2
)
ME_MarkOffsetRange
(
editor
,
to2
,
to
,
MEPF_REPAINT
);
editor
->
nLastSelStart
=
from
;
editor
->
nLastSelEnd
=
to
;
}
void
ME_Repaint
(
ME_TextEditor
*
editor
)
{
ME_Cursor
*
pCursor
=
&
editor
->
pCursors
[
0
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment