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 214755

Summary: Editor tooltip enhancements
Product: editor Reporter: Svata Dedic <sdedic>
Component: Painting & PrintingAssignee: Svata Dedic <sdedic>
Status: RESOLVED FIXED    
Severity: normal CC: apireviews
Priority: P3 Keywords: API, API_REVIEW_FAST
Version: 7.3   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 30234, 45884    
Attachments: Proposed changes

Description Svata Dedic 2012-06-26 07:40:20 UTC
Created attachment 121341 [details]
Proposed changes

For a feature (braces outline + tooltip), I would appreciate small API changes to the Editor tooltip and scrolling support.

1/ Support for absolutely positioned tooltips. Current ToolTipSupport interface only positioning relative to the caret in the editor. I need absolute positioning, so the tooltip can be nicely aligned with the editor's area. Possibly other popup / roll-out hints could use this positioning, too.

2/ I need to disable scrolling support in tooltips. An unobtrusive way is to extend the NbEditorUI behaviour to accept scrolling policy in the editor Component's clientProperties.

Please see the attached diff. The change is an extension to the editor's capabilities and should not affect existing contracts.
Comment 1 Svata Dedic 2012-07-04 12:36:02 UTC
Last chance to comment, will commit tomorrow otherwise.
Comment 2 Svata Dedic 2012-07-10 09:08:24 UTC
Implemented in http://hg.netbeans.org/jet-main/rev/eb36e801114e
Comment 3 Svata Dedic 2012-07-10 09:08:24 UTC
Implemented in http://hg.netbeans.org/jet-main/rev/eb36e801114e
Comment 4 Quality Engineering 2012-07-12 08:16:38 UTC
Integrated into 'main-golden', will be available in build *201207120002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/eb36e801114e
User: Svata Dedic <sdedic@netbeans.org>
Log: #214755: implemented fixed positioning for editor tooltips. Allowed parent control over scroll policy in editor panes.