Posted 18 years ago
by Dan Oren
-
Software Developer,
Watchfire
Hey
I have an http response.
I want to parse it manually in the code without defining a new language and to select the headers in Orange with bold font and the values in green. Also I would like to highlight some text in yellow and italic font (some words, not full lines). All these without defining a language but by something like we have in the RichTextBox that allows us to do this.
HTTP/1.1 302 Found
Set-Cookie: ASP.NET_SessionId=enkwakuxwsqbqcmn5chjovvq; path=/
Content-Length: 135
Server: Microsoft-IIS/5.0
Date: Tue, 07 Nov 2006 08:55:56 GMT
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
Location: /bank/welcome.aspx
Cache-Control: no-cache
Pragma: no-cache
Expires: -1
Content-Type: text/html; charset=utf-8
How can I do it ?
I understood that I can use Span idicators for it but I dont know how to use it.
Could someone supply me a piece of code that show hwo to do it?
Dan
[Modified at 11/08/2006 01:52 AM]
I have an http response.
I want to parse it manually in the code without defining a new language and to select the headers in Orange with bold font and the values in green. Also I would like to highlight some text in yellow and italic font (some words, not full lines). All these without defining a language but by something like we have in the RichTextBox that allows us to do this.
HTTP/1.1 302 Found
Set-Cookie: ASP.NET_SessionId=enkwakuxwsqbqcmn5chjovvq; path=/
Content-Length: 135
Server: Microsoft-IIS/5.0
Date: Tue, 07 Nov 2006 08:55:56 GMT
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
Location: /bank/welcome.aspx
Cache-Control: no-cache
Pragma: no-cache
Expires: -1
Content-Type: text/html; charset=utf-8
How can I do it ?
I understood that I can use Span idicators for it but I dont know how to use it.
Could someone supply me a piece of code that show hwo to do it?
Dan
[Modified at 11/08/2006 01:52 AM]
Dan Oren