Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
a13be207
Commit
a13be207
authored
Jan 02, 2001
by
Gerd Moellmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(pos_visible_p): Take into account that CHARPOS maybe
in or at the start of invisible text.
parent
1a8a9daf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
src/ChangeLog
src/ChangeLog
+3
-0
src/xdisp.c
src/xdisp.c
+3
-2
No files found.
src/ChangeLog
View file @
a13be207
2001-01-02 Gerd Moellmann <gerd@gnu.org>
* xdisp.c (pos_visible_p): Take into account that CHARPOS maybe
in or at the start of invisible text.
* dispnew.c (update_window): Don't check_current_matrix_flags.
2001-01-01 Jason Rumney <jasonr@gnu.org>
...
...
src/xdisp.c
View file @
a13be207
...
...
@@ -1012,8 +1012,9 @@ pos_visible_p (w, charpos, fully, exact_mode_line_heights_p)
start_display (&it, w, top);
move_it_to (&it, charpos, 0, it.last_visible_y, -1,
MOVE_TO_POS | MOVE_TO_X | MOVE_TO_Y);
if (IT_CHARPOS (it) == charpos)
/* Note that we may overshoot because of invisible text. */
if (IT_CHARPOS (it) >= charpos)
{
int line_height, line_bottom_y;
int line_top_y = it.current_y;
...
...
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