diff --git a/collects/scribblings/framework/text.scrbl b/collects/scribblings/framework/text.scrbl index fa3064a8..74c739d8 100644 --- a/collects/scribblings/framework/text.scrbl +++ b/collects/scribblings/framework/text.scrbl @@ -1164,6 +1164,24 @@ @defclass[text:searching% (text:searching-mixin text:backup-autosave%) ()]{} @defclass[text:info% (text:info-mixin (editor:info-mixin text:searching%)) ()]{} +@definterface[text:line-numbers<%> ()]{ + + @defmethod*[(((show-line-numbers! (show boolean?)) void))]{ + + Enables or disables line number drawing. + } + + @defmethod*[(((show-line-numbers?) boolean?))]{ + + Returns whether or not line drawing is enabled. + } + + @defmethod*[(((set-line-numbers-color (color string?)) void?))]{ + + Sets the color of the line numbers. + } +} + @defmixin[text:line-numbers-mixin (text%) (text:line-numbers<%>)]{ @defmethod*[#:mode override (((on-paint) void))]{ @@ -1180,6 +1198,11 @@ Returns whether or not line drawing is enabled. } + + @defmethod*[(((set-line-numbers-color (color string?)) void?))]{ + + Sets the color of the line numbers. + } } @(include-previously-extracted "main-extracts.ss" #rx"^text:")