473,221 Members | 1,917 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,221 software developers and data experts.

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 1501
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

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

Similar topics

15
by: Applebrown | last post by:
I've got a couple of errors on my site that I'm not sure how to fix. I'm using simple CSS for both text rollovers and my horizontal navbar, and here's what happens. First, the site: ...
9
by: lkrubner | last post by:
I've got a function, you can see it below, that is being called onmouseup in the textarea on my main form. The idea is to find a selection if possible and store that text in a global variable. I...
4
by: frogman042 | last post by:
My daughter is playing around trying to learn JavaScript and she wrote a small program that prints out a message in increasing and decreasing font size and color changes. She is using document...
0
by: Lauren Quantrell | last post by:
I use the following code to create text edit fields and command buttons in my toolbars: Function CreateToolbarObject(myObjectType as integer) Dim newObject Select Case myObjectType Case 1...
1
by: Joel Barsotti | last post by:
Is there anything builtin to ASP.net that allows you to tie a text box to a button so when you press enter in the text box it emulates clicking a near by button. I've coded up some client side...
1
by: Ian Davies | last post by:
I am trying to move some text by clicking a button. When clicked the button runs the java script and this will then take the value in the text field and add 10 to it to create a new value, this is...
5
by: visu | last post by:
Hi this is a question asked in this group two years back.. No answer for this question till date. now i am in the same situation of the questioner.. to find a solution for this problem. Can any...
5
by: Alex | last post by:
Hello, I hope I can explain this properly. I'm writing an application with a tabbed-based navigation, and a form which gets filled out by users will be split into 5 subtabs. What I need is...
2
by: zombek | last post by:
Hello. I wrote a simple GTK+ program. On clicking a button I use calculate_cb callback function, and send MainWindow structure (it contains widgets) as data. When inside the callback function I...
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.