Difference between revisions of "Text Editor Tool"

From ADempiere
Jump to: navigation, search
This Wiki is read-only for reference purposes to avoid broken links.
m (Fix links)
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Breadcrumb|Table of Contents|Functionality|next=Window Size}}
+
{{Breadcrumb|Table of Contents|Functionality|next=Value Preference Dialog}}
 
[[Category:Functionality]]
 
[[Category:Functionality]]
 
[[Category:User documentation]]
 
[[Category:User documentation]]
 +
[[Category:Table of Contents]]
 +
[[Category:Documentation]]
 +
  
 
The '''Text Editor Tool''' provides a way to enter text and see how the text appears as HTML.
 
The '''Text Editor Tool''' provides a way to enter text and see how the text appears as HTML.

Latest revision as of 22:48, 21 December 2010

Table of Contents{{#if: Functionality| | Functionality }}{{#if: | | [[{{{3}}}]] }}{{#if: | | [[{{{4}}}]] }}{{#if: | | [[{{{5}}}]] }} | Text Editor Tool{{#if: Value Preference Dialog| | Value Preference Dialog }} ⇒


The Text Editor Tool provides a way to enter text and see how the text appears as HTML.

Access

Icon: Icon Edit24.png
Menu: →Editor }}{{#if: | → }}{{#if: | → }}
Short Cut: none

Restrictions

The Editor Tool is not available in a Text Field or Memo Field with the name "Script". For these fields, the Script Editor Tool is used.

Description

The Editor Tool appears in the pop-up menu on all Text Fields, Memo Fields and on String Fields where the display length is less than the field length.

The Editor Tool opens with a screen similar to the one below.

 

TextEditor.png

 

The window has a menu with a single entry File. The File menu can be used to import or export text to or from a file.

Below the menu is a tabbed panel with two tabs Text and HTML. The HTML tab displays the text in the Text tab processed as HTML.

At the bottom of the screen is the confirm button and some status information. On the left there are some numbers with represent the current length of the text in the field and the total field length. If the text in the tab is longer than the total field length, the Editor will beep in warning. On the right of the status bar a repeat of the current length of the text.

If the Editor Tool was opened from a pop-up menu in a Memo, Text or String field, clicking the confirm button will save the changes in the field, otherwise, all changes will be lost.

If the tool was opened from the menu, the File menu can be used to save the contents to a file.

For Developers

The software that displays this window can be found in:

  • client/src
    • org.compiere.grid.ed.Editor.java
    • org.compiere.grid.ed.VMemo.java
    • org.compiere.grid.ed.VString.java
    • org.compiere.grid.ed.VText.java