Archived Beta Discussions > SlickEdit 2019 v24 Beta Discussion

Python debugging watch: Strings editing

(1/1)

jporkkahtc:
String variable value editing in "Watches" is annoying due to the escapes.
The edit box allows entering control characters with Ctrl+Q, so it isn't necessary to support "\" escapes here.
It even escapes ' (single quote), but it doesn't need to.


When the Modify dialog has "(o) String" selected, the value of the edit box should be taken verbatim.
When the Modify dialog has "(o) Expression" selected, the value of the edit box should be taken as an expression - where you could enter a quoted string with escapes.


Some examples:
1: Enter: a\b\c\d\e\f
Resulting value: a\b\\c\\d\\e\f

2: Enter: 'A'
Results: \'A\'

3: Enter: "A"
Results in error dialog:
---------------------------
SlickEdit Pro
---------------------------
Could not modify variable:  Error opening file
---------------------------
OK   
---------------------------

Navigation

[0] Message Index

Go to full version