Project

General

Profile

Actions

Bug #3745

closed

Bold, italics and underline buttons are not functional

Added by Ryan McFall over 15 years ago. Updated over 15 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
parser
Target version:
Start date:
01/13/2009
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
3745

Description

The buttons to make text bold, underlined and italicized do not function.

The JEditorPane class has a method that can be used to apply the bold action to the selected text; note that when we move from one JEditorPane to another, however, we need to update the action associated with the toolbar button/menu to be the right one.

There should also be standard keyboard short-cuts associated with these buttons.


Related issues

Blocked by FIRST - Bug #3746: Need ability to make text superscript and subscriptResolvedRyan McFall01/13/2009

Actions
Actions #1

Updated by Ryan McFall over 15 years ago

Completed through use of StyledEditorKit actions; it turns out that the BoldAction class will work on the currently active JTextComponent object, so this was easier than first thought (although a bug in some prior code made it much harder than it should have been)

Actions #2

Updated by Redmine Admin about 11 years ago

Original Bugzilla ID was 3745

Actions

Also available in: Atom PDF