Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: C# RTF HTML editor  (Read 3626 times)

0 Members and 1 Guest are viewing this topic.

jimbo8098

    Topic Starter


    Beginner

    C# RTF HTML editor
    « on: August 20, 2010, 04:27:54 PM »
    Hey all :)

    Im developing a small HTML editor and im looking for one thing thats really annoying me. I see editors on website forums just like this all the time where you click a button for example bold and a bold tag appears in front of your cursor (little flashing line , cant remember the spelling) then you can type the thing you want in bold then click it again and the close tag appears there in front of the cursor.

    Well this is where i need help. How can i make a string appear in front of my cursor?

    Ill have a look around but ive not seen anything on it so far... which is worrying...


    I am currently working for clicknetworks IT Support. Please feel free to visit our site at http://www.clicknetworks.co.uk

    BC_Programmer


      Mastermind
    • Typing is no substitute for thinking.
    • Thanked: 1140
      • Yes
      • Yes
      • BC-Programming.com
    • Certifications: List
    • Computer: Specs
    • Experience: Beginner
    • OS: Windows 11
    Re: C# RTF HTML editor
    « Reply #1 on: August 20, 2010, 07:44:45 PM »
    The textbox's "SelectedText" Property can be set. This inserts a string at the insertion point.
    I was trying to dereference Null Pointers before it was cool.

    jimbo8098

      Topic Starter


      Beginner

      Re: C# RTF HTML editor
      « Reply #2 on: August 27, 2010, 01:51:25 PM »
      k Ill try that... Sounds like what im looking for...


      I am currently working for clicknetworks IT Support. Please feel free to visit our site at http://www.clicknetworks.co.uk