You Are Here:

Community: Developer Discussion Boards

#1 Old Rich Text API - 2007-09-13, 11:27

Join Date: Mar 2007
Posts: 2
GizmoC
Offline
Registered User
Hello

I am looking to create a Rich Text form that supports text input in various colors, styles (bold, italic, etc), and sizes.
Currently, I have it such that the user enters his message normally and each time he changes a style a particular "marker tag" will be placed before that word. After the user is done typing he then hits "Preview", and only in the Preview screen the whole text will be rendered manually in the Canvas.

For example, let's say I have entered the sentence "My house is big. My heart is small". If I make the second sentence bold and the word "house" pink color... then the sentence will look something like this:
"My *phouse is big. ^bMy heart is small."
This is what I mean by custom marker tags... but this solution seems a bit clunky because these markers tags are clearly visible to the user, and removing them can cause unforseen parsing errors while I try to "Preview".

So... does a better solution exist? Or even better, an API for this? What I am looking for is to create a stripped down Rich Text editor (similar to desktop versions) where any style changes can be seen immediately.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Rendering text in multiple languages TheLittleBird General Symbian C++ 0 2007-06-05 13:52
Is S60 default SMS viewer extensible to view custom rich format text tumadafe General Messaging 1 2007-02-21 12:34
Rich Text Appliction hotter500 Mobile Java General 0 2005-11-05 16:18
Rich Text Editor and Dialog sakhya Symbian User Interface 0 2005-04-28 18:08
Inserting Gif Jpeg and Bmp directly to Rich text Editor pravin_swami Symbian User Interface 1 2005-02-03 06:02

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia