469,887 Members | 1,275 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,887 developers. It's quick & easy.

Text Segmentation on clicking button

14
There is a piece of source code.On selection of some part of source code and click on button say"Create Segment".Segment should be created. Structure for this is:
/*Start Segment1*/
{
------------------------
-----------------------
----------------------
}
/*End Segment1*/

On clicking the create segment button, for the selected text start and end segment should be created.Please help me to overcome this problem.
Dec 10 '07 #1
4 1374
amulyab
14
There is a piece of source code.On selection of some part of source code and click on button say"Create Segment".Segment should be created. Structure for this is:
/*Start Segment1*/
{
------------------------
-----------------------
----------------------
}
/*End Segment1*/

On clicking the create segment button, for the selected text start and end segment should be created.Please help me to overcome this problem.
Dec 12 '07 #2
gits
5,390 Expert Mod 4TB
hi ...

sorry but i simply don't get it. is this a ruby-specific question? what source-code? where should what be created? could you explain in more detail what you have and what you want to achieve?

kind regards
Dec 12 '07 #3
amulyab
14
hi ...

sorry but i simply don't get it. is this a ruby-specific question? what source-code? where should what be created? could you explain in more detail what you have and what you want to achieve?

kind regards
sorry.. source code is nothing but plain text. on selection of some text and click on button start,selected part should be marked with start and end segment.
Dec 12 '07 #4
gits
5,390 Expert Mod 4TB
ahh ... i see :) ... so there simply should be specific text inserted around the selected text ...
Dec 12 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

15 posts views Thread by Applebrown | last post: by
9 posts views Thread by lkrubner | last post: by
1 post views Thread by Joel Barsotti | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.