geany 0.20 (svn >= r5106) (built on Jul 24 2010 with GTK 2.20.1, GLib 2.24.1), Ubuntu 10.04
(Language: javascript)
When adding a property with a negative value, the listing of the following properties of a object in the symbol browser breaks.
// the following works, shows Members: City.army, City.cord, City.date,
// City.index, City.name, City.note, City.res, City.server
// Functions: City.testfunction
function City() {
this.army = new Array();
}
City.prototype =
{
index: 1,
testfunction: function(value1){
},
server: "",
name: "",
date: 1,
note: "",
cord: "XXX-YYY",
res: null,
army: null
}
// the following shows only City.index under Members (therefore
// also no auto completion)
// also no City2.testfunction
function City2() {
this.army = new Array();
}
City2.prototype =
{
index: -1, //note: negative -1
testfunction: function(value1){
},
server: "",
name: "",
date: 1,
note: "",
cord: "XXX-YYY",
res: null,
army: null
}
// the following shows only Members: City.date, City.index, City.name,
// City.server
// shows Functions: City3.testfunction
function City3() {
this.army = new Array();
}
City3.prototype =
{
index: 1, //note: positive again
testfunction: function(value1){
},
server: "",
name: "",
date: -1, //note: negative 1
note: "",
cord: "XXX-YYY",
res: null,
army: null
}
Fixed in Git with commit 5df551b1ce7d2192f8ddec8eda6da4ac05662969, thanks for reporting.
Duplicate: https://sourceforge.net/tracker/?func=detail&aid=3470609&group_id=153444&atid=787791