Minor Bug in code-assist popup documentation window

Bug Reports and Fixes
Post Reply
thesilentman
Posts: 1
Joined: Mon Oct 27, 2008 6:26 pm

Minor Bug in code-assist popup documentation window

Post by thesilentman » Mon Oct 27, 2008 6:47 pm

I found this concerning ExtJS, but if it's a generic function it might affect all supported libs.

Issue:
The text in the documentation popup of a method, config option, etc.... is not formatted well if the doc contains multiple lines.
The result is that the last word of the line and the first word of the next line are merged (no space).

Proof:

In the Editor copy this:

==================

var a = new Ext.Window({
auto
})


===================



position the cursor on auto and press control-space to get the config options.
'autodestroy' is the first one. Look at the doc popup in the secondline where it says:

'that is removed from it, elsedestruction must be'

Now take a look at the Container.js where this is defined and you see theese lines:


/** @cfg {Boolean} autoDestroy
* If true the container will automatically destroy any contained component that is removed from it, else
* destruction must be handled manually (defaults to true).
*/


There is a line break between 'else' and 'destruction'. This is not been taken into account during formating of the popup. I guess there should be a 'space' inserted when there are two words seperated by a linebreak without a space.

Greetings,
Frank

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests