Languages Delphi & Kylix Delphi String Manipulation  

Formatting RichEdit with HTML tags

download download home home  
important code information
minimum requirements:
Formatting RichEdit with HTML tags description

For my second venture in Delphi I decided to convert another one of my Visual Basic uploads to Delphi. This one allows the user to use HTML style tags in a string to display the string in a RichEdit with colour and other formatting. The code as is accepts several colours as < colour >, formatting such as < b > for Bold, < u > for underline, and < i > for italics, along with the relevant closing tags. It also recognises < font face="blah" > and < font size="xx" > even when done as < font face = "blah" size = "xx" >. Please remember I am new to Delphi so there are probably better ways to have handled this method of formatting RichEdit.

File List:

Similar code
Base Converter (Popularity: ) : This program was made to show you how to convert number bases easily and efficiently. The program supports binary, octal, decimal, hex, and ascii(base 256). Please vote on my code.
Char Statistic / Count (Popularity: ) : Just a sample how to calculate character in one text/paragraph. Usefull if you want to do a char count/statistic.
Random String Generator Example - Extra Options - Patterns (Popularity: ) : A random string generator. It has some useful options and the user can enter the patterns the he chooses. It can be useful for sum things. ;) Oh, btw, the Screenshot had the XPMan component when it was taken, i ...
Encryption Component (Popularity: ) : TO get the script for this not in component form, check out my string encryption upload and please rate*** This is an encryption component, it is very simple to use and does the job. This component i currently use in ...
Expression Evaluater Example (Popularity: ) : This program was made to show how to evaluate an expression. The program supports ^,*,/,+,- and does order of operation. The main unit is about 270 lines.
Text <=> Code (Popularity: ) : I'm 100% sure you haven't seen a Text<=>Code converter program as good as this one since you started working with Computer! This program can transform a text to code and save the code as a *.bmp type picture, and even ...
String Encryption, Decryption (Popularity: ) : This shows how to Encrypt a string, and also how to then Decrypt that string, its a little incomplete as all characters(only symbols) arnt set, easy changable to any key you like!, rate what you think please! marty.
Split function with an attitude (Popularity: ) : Split a given string into TStrings with given delimiter character. Will also process Quoted string if need to (e.g.): 'this, is, a, "comma, separated, value", for, you' will be split into a stringlist with the following items: (0) this (1) ...
Replace Char Function *UPDATED* (Popularity: ) : You can easily replace characters with this function. I noticed delphi was missing one, so I wrote one myself. This is an updated version, and is less complex than the original. It also works even better.
Simulated Stack (Popularity: ) : This code is just like my previous posting under VB. I just finished porting it to Delphi. It lets you manage a stack, like the computers memory heap. You can push and pop items. It is currently a unit file ...
User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
Rate me
supported os
downloads 297
size in Kb 9
popularity   5227/7916503
user rating 3/10

New Code
Popular Code