Search found 92 matches
- 22 Aug 2013 08:36
- Forum: Web Client Bugs and Feature Requests
- Topic: Text Coloring
- Replies: 23
- Views: 10559
Re: Text Coloring
I'm not picturing it. What would it look like? In my ideal world I would be making calls such as: var pattern = new RegExp("(peculiar|unusual|exotic)", "i"); gwc.output.replace(pattern, "<span style=\"color:green\">$1</span>"); I think any wrapper around the j...
- 22 Aug 2013 00:55
- Forum: Web Client Bugs and Feature Requests
- Topic: Text Coloring
- Replies: 23
- Views: 10559
Re: Text Coloring
var src_str=$("#mudoutput .line").last().html(); var pattern = new RegExp("(peculiar|unusual|exotic)", "i"); src_str = src_str.replace(pattern, "<span style=\"color:green\">$1</span>"); $("#mudoutput .line").last().html(src_str); This give...
- 22 Aug 2013 00:32
- Forum: Web Client Bugs and Feature Requests
- Topic: Text Coloring
- Replies: 23
- Views: 10559
Re: Text Coloring
For your trigger check the regular expression box, and put in (peculiar|exotic|unusual) in the box (that triggers on peculiar OR exotic OR unusual) var src_str=$("#mudoutput .line").last().html(); var pattern = new RegExp("(peculiar|unusual|exotic)", "i"); src_str = src...
- 21 Aug 2013 19:20
- Forum: Web Client Bugs and Feature Requests
- Topic: Text Coloring
- Replies: 23
- Views: 10559
Re: Text Coloring
var src_str=$("#mudoutput .line").last().html(); var term = "unusual"; term = term.replace(/(\s+)/,"(<[^>]+>)*$1(<[^>]+>)*"); var pattern = new RegExp("("+term+")", "i"); src_str = src_str.replace(pattern, "<mark>$1</mark>"); src...
- 21 Aug 2013 18:01
- Forum: Common Board
- Topic: New Official Client Unveiled for Testing!
- Replies: 6
- Views: 2803
- 21 Aug 2013 00:55
- Forum: Web Client Bugs and Feature Requests
- Topic: Text Coloring
- Replies: 23
- Views: 10559
Re: Text Coloring
Can you expose some more of the internal API so we can write our own libraries that could be included into the system? Rather than requesting the method call you just suggested, I feel like users should be able to write them and then have them included (after review) into a standard library. Or can ...
- 21 Aug 2013 00:49
- Forum: Web Client Bugs and Feature Requests
- Topic: Text Coloring
- Replies: 23
- Views: 10559
Re: Text Coloring
Hah, I agree, it looks horrible.
Yeah, thats it exactly.
Yeah, thats it exactly.
- 20 Aug 2013 22:55
- Forum: Web Client Bugs and Feature Requests
- Topic: Text Coloring
- Replies: 23
- Views: 10559
Re: Text Coloring
Sure. If I want to highlight the word "peculiar" or "unusual" rather than highlighting the entire line. I'd like it to look something like this:
You get an unusual black robe
rather than:
You get an unusual black robe.
You get an unusual black robe
rather than:
You get an unusual black robe.
- 20 Aug 2013 22:43
- Forum: Web Client General Discussion
- Topic: New Official Client Unveiled for Testing!
- Replies: 32
- Views: 12086
Re: New Official Client Unveiled for Testing!
Amazing job guys, seriously, bravo!
Love that triggers can be written in javascript.
Can we import/export triggers?
This seems like the sort of project that could be put on GitHub and open-sourced to the community. Any chance that will happen?
Love that triggers can be written in javascript.
Can we import/export triggers?
This seems like the sort of project that could be put on GitHub and open-sourced to the community. Any chance that will happen?
- 20 Aug 2013 22:40
- Forum: Web Client Bugs and Feature Requests
- Topic: Text Coloring
- Replies: 23
- Views: 10559
Text Coloring
Ability to change the color of a word rather than the whole line.