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 - Resize the editor for text/longvarchar
Summary: Resize the editor for text/longvarchar
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Show Data (show other bugs)
Version: 7.3
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords: NETFIX
Depends on:
Blocks:
 
Reported: 2012-10-02 05:21 UTC by akobberup
Modified: 2012-10-07 02:01 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
proposed patch v1 (4.32 KB, patch)
2012-10-02 19:38 UTC, matthias42
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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