This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 219300

Summary: Resize the editor for text/longvarchar
Product: db Reporter: akobberup
Component: Show DataAssignee: Jaroslav Havlin <jhavlin>
Status: RESOLVED FIXED    
Severity: normal Keywords: NETFIX
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Windows 7 x64   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: proposed patch v1

Description akobberup 2012-10-02 05:21:02 UTC
When double-clicking a cell in a resultset that is of type text/longvarchar, and selecting the "Edit data" menu item from the context menu, the text from the field is shown in an textarea in a dialog for editing.

However, the dialog is is so small, and can not be resized, so it is almost unuseable. It would be nice if it were larger and/or could be resized.
Comment 1 matthias42 2012-10-02 19:38:56 UTC
Created attachment 125248 [details]
proposed patch v1

The attached patch does two things:

1. enlarge the default size to 20 lines by 80 columns
2. make the dialog resizable (a hack, but it works)

this changes the custom editors for character (mysql supports very large varchars) and CLOB editors.
Comment 2 Jaroslav Havlin 2012-10-03 14:17:06 UTC
http://hg.netbeans.org/core-main/rev/8a18e097b307
The fix works perfectly.
Thank you!
Comment 3 Quality Engineering 2012-10-07 02:01:13 UTC
Integrated into 'main-golden', will be available in build *201210070002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/8a18e097b307
User: Jaroslav Havlin <jhavlin@netbeans.org>
Log: #219300: Resize the editor for text/longvarchar