Posted by: DonQuichote | Date: 04/19/2017 10:47 | IP: IP Logged
In PSPad 5.0.0(182), the code explorer has the labels section opened by default if you switch to another PHP file. However, these labels are no labels at all. The labels given are "else:" and "parent:", which are keywords in PHP. ("else:" belongs to the "alternative syntax", which I use because it is more legible than the c-style syntax.
As you see in the picture, the label list gives no real info, but pushes the class and method info out of the window. Is it possible to fix the labels or to not expand the labels by default?
Posted by: pspad | Date: 04/19/2017 11:17 | IP: IP Logged
Send me some source code example please
Posted by: DonQuichote | Date: 04/19/2017 11:34 | IP: IP Logged
public function __construct()
// something else
// do something
} // method __construct
} // class clsWhatEver
The above code snippet will show "parent:", "else:" and "default:"
Edited 1 time(s). Last edit at 04/19/2017 11:44 by pspad.
Posted by: pspad | Date: 04/19/2017 11:41 | IP: IP Logged
Parent:: is wrong
label is defined as name:
If there are words what can't be consider as labels, e.g. default: or else:, I can remove it
Edited 1 time(s). Last edit at 04/19/2017 11:43 by pspad.
Posted by: DonQuichote | Date: 04/25/2017 12:38 | IP: IP Logged
In the new version, the wrong labels have disappeared. Thanks!