Skip to content

Commit 2e89995

Browse files
jeremypwJeremy Woottenzeebok
authored
Increase maximum selection length (#1470)
Co-authored-by: Jeremy Wootten <jeremy@Proteus-EL07R6-9b3c42bb.localdomain> Co-authored-by: Ryan Kornheisl <ryan@skarva.tech>
1 parent c963475 commit 2e89995

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

plugins/highlight-word-selection/highlight-word-selection.vala

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ public class Scratch.Plugins.HighlightSelectedWords : Peas.ExtensionBase, Peas.A
2323
Scratch.MainWindow? main_window = null;
2424
Gtk.SourceSearchContext? current_search_context = null;
2525

26-
// Consts
27-
// Pneumonoultramicroscopicsilicovolcanoconiosis longest word in a major dictionary @ 45
28-
private const uint SELECTION_HIGHLIGHT_MAX_CHARS = 45;
26+
private const uint SELECTION_HIGHLIGHT_MAX_CHARS = 255;
2927

3028
Scratch.Services.Interface plugins;
3129
public Object object { owned get; construct; }

0 commit comments

Comments
 (0)