JavaScript functions listed in Code Explorer

Let us know what you would like to see in the next version of this software

Moderator: kfury77

Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
  • Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
  • Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
  • Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".
Please note that we DO READ all suggestions, even if a reply is not posted. Thanks!
Post Reply
jahwz
Posts: 13
Joined: Thu Aug 03, 2006 5:02 pm

JavaScript functions listed in Code Explorer

Post by jahwz »

This didn't seem like a real bug, so I am posting here...

When opening a JavaScript or HTML file in HTMLPad 2006 (v7.2.0.68) and viewing the Code Explorer, most functions didn't appear in the list. A quick test lead me to the reason. Example:

Shows up in Code Explorer

Code: Select all

function newFunction(form) {
Does NOT show up in Code Explorer

Code: Select all

function newFunction (form) {
Notice the extra space between newFunction and the ()'s in the second example.

Is it possible to have functions like the second show up in the JavaScript Code Explorer view? Are we (me and our Java/JavaScript programmer) the only ones who code like that?
michaelothomas
Posts: 4
Joined: Thu Aug 10, 2006 7:19 pm

Post by michaelothomas »

This also doesn't work with object methods:

Code: Select all

var obj = new Object();
obj.doSomething = function () {
  // A whole bunch of code
}
This shows up in the list of functions, but the name is blank.
peep
Posts: 25
Joined: Thu Feb 15, 2007 10:20 am

Post by peep »

michaelothomas wrote:This also doesn't work with object methods:

Code: Select all

var obj = new Object();
obj.doSomething = function () {
  // A whole bunch of code
}
This shows up in the list of functions, but the name is blank.
I'd like this feature too - an example:

var lib = function() {
this.f = function() {
// code
}
}

var instance = new lib();
Post Reply