Project

General

Profile

Bug #3745

Bold, italics and underline buttons are not functional

Added by Ryan McFall over 10 years ago. Updated over 10 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 subscriptResolved01/13/2009

History

#1 Updated by Ryan McFall over 10 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)

#2 Updated by Redmine Admin about 6 years ago

Original Bugzilla ID was 3745

Also available in: Atom PDF