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 65206 - Do not reserve space for the result area in the SQL editor
Summary: Do not reserve space for the result area in the SQL editor
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: SQL Editor (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords: UI
: 66345 67303 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-27 16:09 UTC by oneway
Modified: 2005-11-21 12:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description oneway 2005-09-27 16:09:37 UTC
Sql syntax highlighting should be available even if all other database service
are disabled. It should not depend on them. Currently, sql syntax highlighting
works even if the database connection has not been setup. However, the SQL
editor splits the window, reserving most of it for "results", I guess.

This is very inconvinient for people who do not need/want to use built-in
database exlporer, etc. but still want SQL syntax highlighting.

Thanks
Comment 1 Miloslav Metelka 2005-09-27 16:29:59 UTC
The editor module does not prohibit the functionality that you request. The only
problem is IMHO to implement a sql editor as a separate module so that it can be
used without the rest of the database functionality being installed.
Passing to db module for further evaluation.
Comment 2 Andrei Badea 2005-09-29 10:22:50 UTC
Could be solved by initially only displaying the editor panel in the SQL editor
window. Therefore when you open an SQL editor for the first time there would be
no split bar and no result area. When you execute the statement for the first
time, the split bar would appear and the window would be splitted as it is now.
Not sure this is good UI, passing to HIE for evaluation.
Comment 3 Andrei Badea 2005-10-11 12:20:58 UTC
*** Issue 66345 has been marked as a duplicate of this issue. ***
Comment 4 Andrei Badea 2005-10-24 11:58:20 UTC
*** Issue 67303 has been marked as a duplicate of this issue. ***
Comment 5 gugrim 2005-10-24 13:33:47 UTC
*** Issue 67303 has been marked as a duplicate of this issue. ***
Comment 6 Jindrich Dinga 2005-11-01 19:10:05 UTC
Based on our offline discussion with Andrei, I support his proposal: the "results" window it is not shown 
by default, it is shown after executing the sql statement only.
Comment 7 Andrei Badea 2005-11-09 15:05:23 UTC
Fixed.

Checking in src/org/netbeans/modules/db/sql/loader/SQLEditorSupport.java;
/cvs/db/core/src/org/netbeans/modules/db/sql/loader/SQLEditorSupport.java,v  <--
 SQLEditorSupport.java
new revision: 1.7; previous revision: 1.6
done
Comment 8 Martin Schovanek 2005-11-21 12:10:02 UTC
VERIFIED