Some things in set last_known_column_point to -1
to mark the memorized value as invalid. */
-float last_known_column;
+double last_known_column;
/* Value of point when current_column was called. */
int last_known_column_modified;
-static float current_column_1 P_ ((void));
-static float position_indentation P_ ((int));
+static double current_column_1 P_ ((void));
+static double position_indentation P_ ((int));
/* Cache of beginning of line found by the last call of
current_column. */
last_known_column_point = 0;
}
-float
+double
current_column ()
{
register int col;
This function handles characters that are invisible
due to text properties or overlays. */
-static float
+static double
current_column_1 ()
{
register int tab_width = XINT (current_buffer->tab_width);
If BEG is nil, that stands for the beginning of STRING.
If END is nil, that stands for the end of STRING. */
-static float
+static double
string_display_width (string, beg, end)
Lisp_Object string, beg, end;
{
}
\f
-static float position_indentation P_ ((int));
+static double position_indentation P_ ((int));
DEFUN ("current-indentation", Fcurrent_indentation, Scurrent_indentation,
0, 0, 0,
return val;
}
-static float
+static double
position_indentation (pos_byte)
register int pos_byte;
{
int
indented_beyond_p (pos, pos_byte, column)
int pos, pos_byte;
- float column;
+ double column;
{
- float val;
+ double val;
int opoint = PT, opoint_byte = PT_BYTE;
SET_PT_BOTH (pos, pos_byte);
{
if (selective > 0
&& indented_beyond_p (pos, pos_byte,
- (float) selective)) /* iftc */
+ (double) selective)) /* iftc */
{
/* If (pos == to), we don't have to take care of
selective display. */
}
while (pos < to
&& indented_beyond_p (pos, pos_byte,
- (float) selective)); /* iftc */
+ (double) selective)); /* iftc */
/* Allow for the " ..." that is displayed for them. */
if (selective_rlen)
{
&& ((selective > 0
&& indented_beyond_p (XFASTINT (prevline),
CHAR_TO_BYTE (XFASTINT (prevline)),
- (float) selective)) /* iftc */
+ (double) selective)) /* iftc */
/* watch out for newlines with `invisible' property */
|| (propval = Fget_char_property (prevline,
Qinvisible,
&& ((selective > 0
&& indented_beyond_p (XFASTINT (prevline),
CHAR_TO_BYTE (XFASTINT (prevline)),
- (float) selective)) /* iftc */
+ (double) selective)) /* iftc */
/* watch out for newlines with `invisible' property */
|| (propval = Fget_char_property (prevline, Qinvisible,
text_prop_object),