NAME

TUI::Editors - Editor components for the TUI::Vision framework

SYNOPSIS

use TUI::Objects;
use TUI::Editors;

# Typical indicator setup inside a TApplication/TProgram subclass:
my $indicator = TIndicator->new(
  bounds => TRect->new( ax => 0, ay => 23, bx => 80, by => 24 ),
);

$self->insert($indicator);

# Update the displayed cursor position and modified flag
$indicator->setValue( TPoint->new(), false );

DESCRIPTION

TUI::Editors provides the editor components for the TUI::Vision framework. These modules are compatible with the editor subsystem of the classic Turbo Vision framework where practical.

This module re-exports the following components:

  • TUI::Editors::Const - Symbolic constants for editor behavior.

  • TEditor - The core multi-line text editor (buffer, cursor, drawing, keyboard and mouse handling).

  • TFileEditor - A TEditor bound to a file on disk (load, save, save as, backup files).

  • TEditWindow - A TWindow that hosts a TFileEditor together with its scrollbars and indicator.

  • TMemo - A TEditor that transfers its text as dialog data.

  • TIndicator - A view that displays the cursor position and modified state of an editor.

AUTHORS

  • Borland International (original Turbo Vision design)

  • J. Schneider <brickpool@cpan.org> (Perl implementation and maintenance)

CONTRIBUTORS

Contributors are documented in the POD of the respective framework modules.

COPYRIGHT AND LICENSE

Copyright (c) 1990-1994, 1997 by Borland International

Copyright (c) 2026 the "AUTHORS" as listed above.

This software is licensed under the MIT license (see the LICENSE file, which is part of the distribution).