I also added an option for this, which made it easier for me to debug.
I haven't added it to the prefs yet.
- Add the option to the prefs.
- Allow to turn on wrapping on a per-variable basis ('w' will turn this
on and off in the variables, view, and there will also be an option
in the variable inspection options window).
- Right now, wrapped lines beyond the first line are indented two
spaces. This is the same as what digging into a variable looks like,
which make it confusing (granted, digging in still indents further,
but it's harder to follow). I think variables that are sub variables
should have some kind of character preceding them, like:
varname: [1, 2, 3]
+ 0: 1
+ 1: 2
+ 2: 3
- When variables are not wrapped, there should be an ellipses at the
end. When unicode is supported, we can use …, otherwise, we use ...
This was supposed to use the unicode ellipsis (…) when possible, but
this does not work. The behavior is very strange. If you replace the
last character with …, it puts a ?. If you replace the second to last
character, it replaces that *and* the last character with a ?. If you
replace the third to last character, it works. Therefore, for now, we
always just use ... (three dots) regardless of the console encoding.