Text Segmentation on clicking button

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • amulyab
    New Member
    • Dec 2007
    • 14

    Text Segmentation on clicking button

    There is a piece of source code.On selection of some part of source code and click on button say"Create Segment".Segmen t 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.
  • amulyab
    New Member
    • Dec 2007
    • 14

    #2
    Ruby on Rails( Text Segmentation)

    There is a piece of source code.On selection of some part of source code and click on button say"Create Segment".Segmen t 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.

    Comment

    • gits
      Recognized Expert Moderator Expert
      • May 2007
      • 5388

      #3
      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

      Comment

      • amulyab
        New Member
        • Dec 2007
        • 14

        #4
        Originally posted by gits
        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.

        Comment

        • gits
          Recognized Expert Moderator Expert
          • May 2007
          • 5388

          #5
          ahh ... i see :) ... so there simply should be specific text inserted around the selected text ...

          Comment

          Working...