From 8a902a97b0b1a457f6dbc61d94fdff16dc5cd3ed Mon Sep 17 00:00:00 2001 From: Jeremy Wootten Date: Mon, 7 Oct 2024 19:58:39 +0100 Subject: [PATCH] Increase maximum selection length --- .../highlight-word-selection/highlight-word-selection.vala | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/highlight-word-selection/highlight-word-selection.vala b/plugins/highlight-word-selection/highlight-word-selection.vala index 5896b5d43..2bf05f422 100644 --- a/plugins/highlight-word-selection/highlight-word-selection.vala +++ b/plugins/highlight-word-selection/highlight-word-selection.vala @@ -23,9 +23,7 @@ public class Scratch.Plugins.HighlightSelectedWords : Peas.ExtensionBase, Peas.A Scratch.MainWindow? main_window = null; Gtk.SourceSearchContext? current_search_context = null; - // Consts - // Pneumonoultramicroscopicsilicovolcanoconiosis longest word in a major dictionary @ 45 - private const uint SELECTION_HIGHLIGHT_MAX_CHARS = 45; + private const uint SELECTION_HIGHLIGHT_MAX_CHARS = 255; Scratch.Services.Interface plugins; public Object object { owned get; construct; }