Click here to Skip to main content
16,004,887 members
Home / Discussions / C#
   

C#

 
QuestionAbout C programming Pin
SYS867-May-06 21:50
SYS867-May-06 21:50 
AnswerRe: About C programming Pin
J4amieC7-May-06 21:56
J4amieC7-May-06 21:56 
AnswerRe: About C programming Pin
Christian Graus7-May-06 22:06
protectorChristian Graus7-May-06 22:06 
QuestionHow to change ToolBar BackColor Pin
Partha De7-May-06 21:46
Partha De7-May-06 21:46 
AnswerRe: How to change ToolBar BackColor Pin
KrIstOfK7-May-06 22:39
KrIstOfK7-May-06 22:39 
QuestionNeed an advice on creating a text editor Pin
Cristoff7-May-06 21:05
Cristoff7-May-06 21:05 
AnswerRe: Need an advice on creating a text editor Pin
J4amieC7-May-06 21:55
J4amieC7-May-06 21:55 
GeneralRe: Need an advice on creating a text editor Pin
Cristoff7-May-06 23:34
Cristoff7-May-06 23:34 
I'll try to explain what I want to do. Maybe there is a better way but I do not know about.

I need to enter text. Let's say it is a poem. A poem has staves, verses a title, notes, etc. Currently if I do this I have to write all these XML tags manually. For a few things it is perfectly OK but with time it gets tedious work.

Example:

Great poem
by Greatest Poet of all times

A great poem I wrote,
a great poem you read.

To write another stave
you must be brave.



<code><title>Great poem<title>
<author>by Greatest Poet of all times</author>

<stave><verse>A great poem I wrote,</verse>
<verse>a great poem you read.</verse></stave>

<stave><verse>To write another stave</verse>
<verse>>you must be brave.</verse></stave></code>


Note: this is just an example but it shows basically what I want to do. I do not need to have a full XML editor.


I basically imagine it like having a text box where I type the text and on the left I select the style for each paragraph (row) like this:
title:     Great poem
author:    Greatest author of all time

verse:     a verse
verse:     a second verse


and the editor will add the rest of the tags as necessary.


Last note: Then the XML files will be transformed with XSLT into HTML or used as necessary.
GeneralRe: Need an advice on creating a text editor Pin
J4amieC7-May-06 23:41
J4amieC7-May-06 23:41 
GeneralRe: Need an advice on creating a text editor Pin
Cristoff8-May-06 4:08
Cristoff8-May-06 4:08 
QuestionInserting data into SQL Server database Pin
cshivaprasad7-May-06 19:51
cshivaprasad7-May-06 19:51 
AnswerRe: Inserting data into SQL Server database Pin
freshonlineMax7-May-06 20:12
freshonlineMax7-May-06 20:12 
GeneralRe: Inserting data into SQL Server database Pin
cshivaprasad7-May-06 21:34
cshivaprasad7-May-06 21:34 
AnswerRe: Inserting data into SQL Server database Pin
kalyanhere8-May-06 18:36
kalyanhere8-May-06 18:36 
Questionsppech sdk5.1 Pin
TheEagle7-May-06 19:38
TheEagle7-May-06 19:38 
QuestionSSL implementation problem....... Pin
Neeraj Arora7-May-06 18:17
Neeraj Arora7-May-06 18:17 
Questionnetwork configuration with C# Pin
jpablo12057-May-06 17:54
jpablo12057-May-06 17:54 
AnswerRe: network configuration with C# Pin
Ravi Bhavnani7-May-06 18:57
professionalRavi Bhavnani7-May-06 18:57 
GeneralRe: network configuration with C# Pin
jpablo12058-May-06 4:48
jpablo12058-May-06 4:48 
QuestionConvert.ToInt32() Pin
yongwpi7-May-06 16:32
yongwpi7-May-06 16:32 
AnswerRe: Convert.ToInt32() Pin
Ravi Bhavnani7-May-06 16:58
professionalRavi Bhavnani7-May-06 16:58 
AnswerRe: Convert.ToInt32() Pin
Christian Graus7-May-06 18:25
protectorChristian Graus7-May-06 18:25 
GeneralRe: Convert.ToInt32() Pin
yongwpi8-May-06 7:01
yongwpi8-May-06 7:01 
AnswerRe: Convert.ToInt32() Pin
HimaBindu Vejella8-May-06 0:10
HimaBindu Vejella8-May-06 0:10 
QuestionWebsite forms Pin
ChrisSharp7-May-06 15:37
ChrisSharp7-May-06 15:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.