The final exist should apply any delimits.
When determining the remaining width, make sure that the range or buffer has not yet been exceeded.
Not doing this resulted in an exit with an F_parameter error, further resulting in no delimits being applied.
return status;
}
+ if (range->start > range->stop || range->start >= buffer->used) break;
+
f_macro_iki_determine_width_max(buffer, range, width_max);
status = f_utf_is_word_dash_plus(buffer->string + range->start, width_max);
}
} while (range->start <= range->stop && range->start < buffer->used);
+ for (f_array_length i = 0; i < delimits.used; i++) {
+ buffer->string[delimits.array[i]] = f_iki_syntax_placeholder;
+ } // for
+
f_macro_string_lengths_delete(status, delimits);
if (F_status_is_error(status)) return status;