aboutsummaryrefslogtreecommitdiff
path: root/view.h
diff options
context:
space:
mode:
authorinfastin <infastin@yandex.com>2025-01-19 23:52:17 +0500
committerRandy Palamar <randy@rnpnr.xyz>2025-02-22 12:02:55 -0700
commitb7f4057919da1d249241eeb8b2f06371a031582f (patch)
tree42547e8aeecf8489705f6e56cba9d98418f8c2e6 /view.h
parent0208d7a9f553b77ab4dfd740e2318f32340b10ea (diff)
downloadvis-b7f4057919da1d249241eeb8b2f06371a031582f.tar.gz
vis-b7f4057919da1d249241eeb8b2f06371a031582f.tar.xz
style_set: add option to keep non-default style values
Diffstat (limited to 'view.h')
-rw-r--r--view.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/view.h b/view.h
index 9717465..9767bbe 100644
--- a/view.h
+++ b/view.h
@@ -344,7 +344,7 @@ bool view_breakat_set(View*, const char *breakat);
/** Set how many spaces are used to display a tab `\t` character. */
void view_tabwidth_set(View*, int tabwidth);
/** Apply a style to a text range. */
-void win_style(struct Win*, enum UiStyle, size_t start, size_t end);
+void win_style(struct Win*, enum UiStyle, size_t start, size_t end, bool keep_non_default);
/** @} */