Commit graph

145 commits

Author SHA1 Message Date
Richard M. Stallman
36974b5ecb (current_column_1): Fix handling of scan_bytes for mb chars. 2001-11-19 06:25:33 +00:00
Pavel Janík
40ef1eda44 (current_column_1): Remove unused variable `prev_col'. 2001-11-09 06:22:21 +00:00
Pavel Janík
4d994a7910 (current_column_1): Remove unused variable `prev_col'. 2001-11-06 13:22:01 +00:00
Richard M. Stallman
d6e483a4da (current_column_1, Fmove_to_column): Separate the code
for display-table glyphs from the code buffer text, to fix
bugs in the former.
2001-11-04 23:26:52 +00:00
Pavel Janík
b782650360 Update usage of CHECK_ macros (remove unused second argument). 2001-11-02 20:46:55 +00:00
Pavel Janík
8c1a1077c0 Change doc-string comments to new style' [w/doc:' keyword]. 2001-10-21 12:13:46 +00:00
Ken Raeburn
f3fbd15535 Avoid (most) uses of XCAR/XCDR as lvalues, for flexibility in experimenting
with lisp system changes.
2001-10-16 09:09:51 +00:00
Stefan Monnier
67964c67c6 (skip_invisible): Use new retval of TEXT_PROP_MEANS_INVISIBLE. 2001-10-14 20:19:10 +00:00
Eli Zaretskii
79c2a4fc68 Fix a typo in a comment. 2001-10-14 08:42:52 +00:00
Stefan Monnier
fe14a5445b (skip_invisible): Don't skip "ellipsisized" text. 2001-10-12 22:31:23 +00:00
Gerd Moellmann
32c82ac0a1 Don't define min/max. 2001-10-08 08:08:08 +00:00
Gerd Moellmann
f1004faf26 (current_column): Fix column computation in the
presence of display table entries.
(current_column_1, Fmove_to_column, compute_motion): Likewise.
2001-07-23 14:47:42 +00:00
Gerd Moellmann
f4a6687dd6 (string_display_width): Put in #if 0. 2001-05-28 12:04:47 +00:00
Gerd Moellmann
88c6e37e85 (current_column, current_column_1, Fmove_to_column)
(compute_motion): Handle characters from display vectors
differently.
2001-03-16 13:33:46 +00:00
Kenichi Handa
9ee6df62dd (check_composition): Check validity of composition. 2001-01-19 03:50:40 +00:00
Eli Zaretskii
8798a92b86 (current_column): Remove unused variable `stopchar'.
(Fcompute_motion): Remove unused variable `contin'.
2001-01-02 14:05:57 +00:00
Miles Bader
bcfbd63d88 (compute_motion): Keep pos_byte in sync with pos. 2000-11-25 02:08:59 +00:00
Gerd Moellmann
6bbd7a2959 Avoid some more compiler warnings. 2000-09-21 20:54:57 +00:00
Andrew Innes
2538fae4f8 Include keyboard.h before frame.h. 2000-08-22 22:41:00 +00:00
Dave Love
703af3d57e Fix nested comment. 2000-06-03 22:23:57 +00:00
Gerd Moellmann
154a424ac4 (Fmove_to_column): When ending within a tab, insert
spaces first so that markers at the end of the tab get adjusted.
2000-05-16 14:29:27 +00:00
Gerd Moellmann
e45001163e (compute_motion): Set immediate_quit. 2000-04-10 11:44:37 +00:00
Gerd Moellmann
39210e90ad (Fvertical_motion): Always use the current buffer.
Temporarily change the window's buffer, if necessary.
2000-03-24 13:31:20 +00:00
Kenichi Handa
012fd715d2 (check_composition): New function.
(MULTIBYTE_BYTES_WIDTH): Call STRING_CHAR_AND_LENGTH with
MAX_MULTIBYTE_LENGTH, not MAX_LENGTH_OF_MULTI_BYTE_FORM.
(current_column_1): Handle new way of composition.
(Fmove_to_column): Likewise.
(compute_motion): Likewise.
1999-12-15 00:13:13 +00:00
Gerd Moellmann
339ee9797d Remove USE_TEXT_PROPERTIES. 1999-11-11 11:45:06 +00:00
Ken Raeburn
70949dac51 Use XCAR, XCDR, XFLOAT_DATA instead of explicit member access. 1999-09-12 05:07:01 +00:00
Kenichi Handa
0377370fbb (MULTIBYTE_BYTES_WIDTH): Delete the 2nd arg C. Use the
macro STRING_CHAR_AND_LENGTH.  Caller changed.
1999-09-03 01:28:42 +00:00
Gerd Moellmann
4f13cc9959 Remove conditional compilation on NO_PROMPT_IN_BUFFER. 1999-08-21 19:29:47 +00:00
Gerd Moellmann
708ca3c8f9 (vmotion): Don't add in mini-buffer prompt width
if prompts are inserted into mini-buffer.
1999-08-12 20:49:57 +00:00
Karl Heuer
de4075cff3 (Fmove_to_column): Extend end of line only if FORCE is t. 1999-07-26 19:05:40 +00:00
Gerd Moellmann
8720a429d9 (Fvertical_motion): Rewritten. 1999-07-21 21:43:52 +00:00
Karl Heuer
a9a679b70e (compute_motion): Fix boundary case. 1999-06-12 03:50:37 +00:00
Kenichi Handa
f35b0e56f0 (MULTIBYTE_BYTES_WIDTH): Check validity of a multibyte character. 1998-11-06 00:44:16 +00:00
Richard M. Stallman
7ac57cb36c (vmotion): Don't use WINDOW for Fget_char_property
when it is not showing the right buffer.
1998-08-16 02:10:56 +00:00
Richard M. Stallman
8f9db2b73f (indented_beyond_p): Return the right kind of value. 1998-06-23 20:31:53 +00:00
Richard M. Stallman
f9ba10b011 (compute_motion): Check for past vpos/hpos target
before skipping invisible chars.
1998-05-25 22:33:38 +00:00
Kenichi Handa
9129bcc3bd Fix previous change. 1998-05-09 01:23:58 +00:00
Richard M. Stallman
c71c19f497 Comment change. 1998-05-08 05:10:29 +00:00
Kenichi Handa
c38bd42839 (compute_motion): Fix, in a different way, the bug of handling
wide-column character around right margin.
1998-05-08 04:17:48 +00:00
Richard M. Stallman
33fe7d2059 (compute_motion): Undo both May 7 changes. 1998-05-08 02:28:22 +00:00
Kenichi Handa
4aa5eb5a42 (compute_motion): Fix previous change. 1998-05-08 00:08:09 +00:00
Kenichi Handa
dbc08868a2 (compute_motion): Fix bug of handling wide-column
character around right margin.
1998-05-07 06:41:12 +00:00
Richard M. Stallman
e8cb089b39 (compute_motion): When invisible text cross TO,
return TO, not the start of the invisible text.
1998-05-03 04:33:27 +00:00
Andreas Schwab
d5d6f7060f (indented_beyond_p): Fix mixing of Lisp_Object and int. 1998-04-14 13:00:27 +00:00
Andreas Schwab
dfcf069d56 Fix -Wimplicit warnings. 1998-04-14 12:25:56 +00:00
Karl Heuer
9fdae274dd (Fcompute_motion): Check that TO and FROM are in range. 1998-04-13 18:56:00 +00:00
Kenichi Handa
4116deeea8 (compute_motion): Call strwidth only when necessary.
Set wide_column_end_hpos only when MULTIBYTE_BYTES_WIDTH set
nonzero to wide_column.
1998-03-25 10:45:59 +00:00
Kenichi Handa
2436e18031 (MULTIBYTE_BYTES_WIDTH): Set wide_column only when we
encounter a wide-column character.
1998-03-24 05:41:38 +00:00
Andreas Schwab
ef3af330d2 (compute_motion): If we just moved over a continuation
return contin_hpos as prevhpos.
1998-02-27 09:38:41 +00:00
Kenichi Handa
c9c0f7cf48 (MULTIBYTE_BYTES_WIDTH): New macro.
(current_column_1): Don't follow a display table for a heading
byte of a multibyte character.  Use the macro
MULTIBYTE_BYTES_WIDTH.
(Fmove_to_column): Likewise.
(compute_motion): Likewise.  Handling of wide-column character
fixed.
1998-02-20 01:40:47 +00:00