Minor Highlight String: Spaces break strings - Printable Version +- Goonstation Forums (https://forum.ss13.co) +-- Forum: Discussion (https://forum.ss13.co/forumdisplay.php?fid=6) +--- Forum: Bug Reports (https://forum.ss13.co/forumdisplay.php?fid=9) +--- Thread: Minor Highlight String: Spaces break strings (/showthread.php?tid=8312) |
Highlight String: Spaces break strings - Vitatroll - 02-28-2017 Not sure if working_as_intended, but spaces don't work with string highlights. I remember them working before, I think? I like to have 'is hit' highlighted, because I play without my glasses, because I'm old and don't want to admit it, because shut up you whipper snapper , - but I'm now relegated to 'hit', which means sHITty bill (etc) is always highlighted. RE: Highlight String: Spaces break strings - ZeWaka - 02-28-2017 could be related to the html encoding issues we have been having RE: Highlight String: Spaces break strings - Frank_Stein - 03-01-2017 This is how it's always been for me, since I have "AI" as a highlight and that gets hit a lot RE: Highlight String: Spaces break strings - Superlagg - 03-01-2017 (03-01-2017, 12:10 AM)Frank_Stein Wrote: This is how it's always been for me, since I have "AI" as a highlight and that gets hit a lot Have you tried setting the highlight to "AI with one set of quotes? Helps me a lot since most AI requests start with "AI, and it filters out anyone whining about their traits or gloating at someone's failure. Bonus points for adding "eee and door to the highlight. Gets em every time. Would be nice if there was a way to highlight whenever AI is said without having to resort to clever punctuation hacks. Like, it could highlight if the letters AI are surrounded by non-alphanumeric characters, to highlight things like "Turn the lights back on, AI!" or "Why is the AI kicking me?" RE: Highlight String: Spaces break strings - Vitatroll - 03-01-2017 It'd be neat if it accepted regex, but I've never asked for that because it sounds like a good way to get a coder to ram a pitchfork up me arse. My particular problem primarily laid in my inability to set the string 'is hit', because people love saying shit. I just didn't realize how much. No seriously, we say shit a lot. Poo never left; it's inside us all. RE: Highlight String: Spaces break strings - Wire - 03-01-2017 I will look into improving the highlight functionality soon (probably this weekend). Allowing regex is actually probably pretty feasible, although I'm basing this off a hunch without looking at any code so I may take that back in time. |