3P icon indicating copy to clipboard operation
3P copied to clipboard

Leading numbers dropped from procedure names

Open slegian opened this issue 4 years ago • 2 comments

Description of the Issue

The code explorer drops all leading numbers from procedure names

Steps to Reproduce the Issue

Try the following valid progress program, you'll see what i mean: procedure 1a: end procedure.

procedure 2a: end procedure.

procedure 3b: end procedure.

procedure 4a: end procedure.

Expected Behavior

Code explorer should list 4 procedures, 1a, 2a, 3b and 4a.

Actual Behavior

Code explorer lists 1 a x2 with two "a"s underneath for 1a and 2a, then "b" for 3b then "a" again for 4a.

Screenshots

2019-12-06 13_05_12-_new 2 - Notepad++

Debug Information

win10 64bit, n++ 7.8.1 (yeah, i know ;)), 3p 1.8.4, 32 bit

slegian avatar Dec 06 '19 03:12 slegian

Hello!

Damn, I had no idea that you were allowed to start a procedure name with a digit (you can't name a variable like that).

The fix should be pretty easy, I will get into it as soon as possible.

Thank you for the feedback ;)

PS: you are using notepad++ 7.8.1? :o does the plugin works well with that version?

jcaillon avatar Dec 12 '19 17:12 jcaillon

Neither did I and truth be told not a big fan, but hey, the joy of legacy code... Was told this is COBOL like, can't say for sure :)

slegian avatar Dec 12 '19 22:12 slegian