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