Posted by: DonQuichote | Date: 04/19/2017 08: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 09:17 | IP: IP Logged
Send me some source code example please
Posted by: DonQuichote | Date: 04/19/2017 09: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 09:44 by pspad.
Posted by: pspad | Date: 04/19/2017 09: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 09:43 by pspad.
Posted by: DonQuichote | Date: 04/25/2017 10:38 | IP: IP Logged
In the new version, the wrong labels have disappeared. Thanks!