[logo]

JX Application Framework

Home

Introduction

Why use a framework?

Tutorial
    Class tree

    Open protocols

GitHub

Vision
    API stability

    Code optimization

    Bibliography

Features
    Object messaging

    Extensibility

    Drag-and-Drop

    Networking

    3D Graphics

    Powerful tables

    Styled text editor

    Memory leak debugger

    Known bugs

    Future plans
    Projects

FAQ

Donate

Other software

What's new!

Styled text editor

The JX Application Framework provides a text editor class that supports fully styled text (i.e. each character can have a separate style).

JXTEBase is the base class for all text editors. It provides the following major features:

The JX clipboard follows the Macintosh® model where you have to explicitly use the Copy item on the Edit menu (or the shortcut) before the selected text is copied. This has the great advantage that it lets one paste so as to replace the current selection. (Of course, you can use the X Selection model instead, if you want to.)

The format used to copy and paste styled text is described here.

The default Search Text dialog is shown below. This dialog is extensible, so you can create a derived class to provide additional features. It also automatically supports sharing of the search parameters between programs via the Xsearch protocol.