aboutsummaryrefslogtreecommitdiffstats
path: root/src/indent.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (buffer_display_table): Use DISP_TABLE_P.Richard M. Stallman1995-10-111-13/+12
| | | | | | | | | Return type is now struct Lisp_Char_Table * since display tables are now char-tables. (character_width, disptab_matches_widthtab, recompute_width_table) (current_column, Fmove_to_column, compute_motion): Corresponding changes.
* (Fmove_to_column): Make it interactive.Richard M. Stallman1995-10-051-1/+1
|
* Update GPL to version 2.Karl Heuer1995-06-151-1/+1
|
* (Fvertical_motion): Add cast.Karl Heuer1995-06-061-1/+1
|
* (compute_motion): Handle overlay strings.Karl Heuer1995-05-181-154/+166
| | | | New arg DID_MOTION. All callers changed.
* (vmotion): handle the case where `minibuf_prompt' is nil.Karl Heuer1995-05-151-1/+1
|
* (vmotion): Simplify. Replace last three args with a singleKarl Heuer1995-05-131-72/+63
| | | | struct window *. All callers changed.
* (string_display_width): Renamed from string_width.Richard M. Stallman1995-05-051-2/+3
| | | | (vmotion): Use new name.
* (Fmove_to_column): Fix minor bug in prev change.Richard M. Stallman1995-04-081-1/+1
|
* (string_width): New function.Richard M. Stallman1995-04-081-1/+87
| | | | (vmotion): Compute the width of minibuf_prompt if it isn't already known.
* (compute_motion, Fmove_to_column, current_column)Richard M. Stallman1995-03-161-30/+36
| | | | | | (character_width): Let display table handle \n, \r, \t. (compute_motion): Fix logic in previous change regarding skipping invisible.
* (compute_motion): Call recenter_overlay_lists sooner.Richard M. Stallman1995-03-111-16/+40
| | | | | | | | Use Fnext_property_change to get a quick lower bound for where `invisible' changes. (compute_motion, vmotion): Check `invisible' prop using TEXT_PROP_MEANS_INVISIBLE.
* (compute_motion): Don't get hung in selective-display loop.Karl Heuer1995-01-241-13/+14
|
* (recompute_width_table): Do the right thing if no previous table existed.Karl Heuer1994-11-181-7/+5
| | | | | Fix Lisp_Object vs. integer problem. (width_run_cache_on_off): Let recompute_width_table create the vector.
* * indent.c: #include "region-cache.h".Jim Blandy1994-10-081-77/+308
| | | | | | | | | | | | (character_width, disptab_matches_widthtab, recompute_width_table, width_run_cache_on_off): New functions. (compute_motion): Call width_run_cache_on_off. If this buffer's width run cache is enabled, consult it to see if we need to traverse a region character-by-character; store information in the cache after doing so. Call find_before_next_newline instead of writing out an equivalent loop explicitly, to take advantage of the newline cache. Doc fixes.
* (Fcurrent_column, Findent_to, Fcurrent_indentation, Fmove_to_column,Karl Heuer1994-10-041-15/+17
| | | | compute_motion, Fcompute_motion, vmotion): Don't use XFASTINT as an lvalue.
* (Fcompute_motion): Use new accessor macros instead of calling XSET directly.Karl Heuer1994-10-041-3/+3
|
* (buffer_display_table, current_column, Fmove_to_column, compute_motion,Karl Heuer1994-09-271-13/+12
| | | | vmotion): Use type test macros.
* (compute_motion): Fix comment.Karl Heuer1994-09-201-1/+1
|
* (vmotion, Fvertical_motion): Fix Lisp_Object vs. int problems.Karl Heuer1994-09-191-19/+21
|
* (Findent_to): Pass new arg to Finsert_char.Richard M. Stallman1994-08-281-2/+2
|
* (pos_tab_offset): Don't trigger point-motion hooks.Karl Heuer1994-08-231-3/+3
|
* (compute_motion): Use WIN's frame, not selected one.Richard M. Stallman1994-08-141-1/+1
|
* (compute_motion): Recenter overlays, for speed.Karl Heuer1994-06-171-0/+1
|
* (vmotion): Use find_next_newline_no_quit.Richard M. Stallman1994-06-141-4/+4
| | | | (indented_beyond_p): Likewise.
* Add "args" to dummy definition of compute-motion.Richard M. Stallman1994-05-191-0/+1
|
* Update copyright.Karl Heuer1994-05-041-1/+1
|
* (compute_motion): Do not abort if window shows some other buffer.Richard M. Stallman1994-04-131-17/+16
| | | | (Fcompute_motion): Use whatever buffer is current.
* (vmotion): Use minibuf_prompt_width despite window-start.Karl Heuer1994-04-111-2/+5
|
* (Fvertical_motion): Use window arg, not selected_window.Karl Heuer1994-04-091-3/+3
|
* (vmotion): Don't use minibuf_prompt_width if window-start has suppressed theKarl Heuer1994-04-061-1/+2
| | | | prompt.
* (compute_motion): Add window argument.Karl Heuer1994-04-051-11/+30
| | | | (Fcompute_motion): Likewise.
* (Fcompute_motion): Fix symbol name in previous change.Karl Heuer1994-03-301-1/+1
|
* (Fcompute_motion): Doc fix.Karl Heuer1994-03-301-2/+9
| | | | Also extracted long doc string to avoid compiler limitations.
* (Fcompute_motion): Don't use XFASTINT on possibly-negative coords.Karl Heuer1994-03-301-3/+3
| | | | Also another doc fix.
* (Fcompute_motion): Doc fix.Karl Heuer1994-03-301-0/+1
|
* Fix glitches in previous change.Karl Heuer1994-03-291-9/+9
|
* (Fcompute_motion): Typecheck all arguments.Karl Heuer1994-03-291-0/+9
|
* (compute_motion): Doc fixes.Karl Heuer1994-03-181-4/+9
|
* (Fvertical_motion): New optional arg WINDOW.Richard M. Stallman1994-03-141-4/+10
|
* (compute_motion): Initialize prev_hpos.Richard M. Stallman1994-03-101-1/+72
| | | | (Fcompute_motion): New function.
* (compute_motion): Allow for invisible overlays in next_invisible lookahead.Karl Heuer1994-02-251-1/+3
|
* (compute_motion, vmotion): Use Fget_char_property to test for invisibility.Karl Heuer1994-02-241-5/+5
|
* (indented_beyond_p): New function.Karl Heuer1994-02-141-4/+16
| | | | | (compute_motion, vmotion): Use it to treat blank lines specially in selective display.
* Fix comments.Karl Heuer1994-02-141-3/+3
|
* (compute_motion): Source code was improperly indented.Karl Heuer1994-02-081-4/+4
|
* (Fmove_to_column): Increments for control charactersRichard M. Stallman1993-11-241-2/+2
| | | | were too low by 1.
* (compute_motion): Pass new arg to Fnext_single_property_change.Richard M. Stallman1993-11-201-19/+21
|
* Include <config.h> instead of "config.h".Roland McGrath1993-09-101-1/+1
|
* (compute_motion): Compute correctly for invisible text.Richard M. Stallman1993-07-311-5/+53
| | | | | | | (vmotion): Take care of invisible newlines. (Fmove_to_column): After we split a tab, make sure to set last_known... consistently.