ProjectExplorer icon indicating copy to clipboard operation
ProjectExplorer copied to clipboard

tags with special characters

Open NigelGomm opened this issue 3 years ago • 2 comments

Doug, got myself into a world of trouble by adding tags with spaces, periods etc - anything that couldn't be in an object name. so added THIS.VALUE = CHRTRAN(THIS.VALUE,[. {}/;:"')(*&^%$#@!|-+=],[]) THIS.VALUE = CHRTRAN(THIS.VALUE,"[]","") at the top of txtTag.lostfocus in projectexplorertageditor

Haven't tried with categories yet.

nigel

NigelGomm avatar Sep 17 '21 13:09 NigelGomm

Spaces in tags work for me, but there is an issue with custom tags: they only work when the parent for an object also has that tag. For example, I created a tag named "Test Me" and used that tag for a class. When I choose "Test Me" from the tag filter combo box, the class doesn't show up. However, if I use that tag for the class library containing the class, then it does.

Spaces in categories work fine.

DougHennig avatar Sep 25 '21 12:09 DougHennig

Maybe only allow tags where ISALPHA() = .T. instead of checking for an ever-growing list of special chars?

Woody-Soft avatar Oct 31 '22 09:10 Woody-Soft

Fixed in the latest build: special characters are allowed but no longer cause an error.

DougHennig avatar Jan 13 '24 15:01 DougHennig