about text editor. only text editor, not server or ....
-
when we create a block inside text editor, by pressing any key, that block disappears, while existing block, if suddenly u press DEL key, content of that block get detroyed. i dont want this, i want to have a block remain persist. pay attention i am talking only about text editor not data manippulate or SQL server or....... just inside of text editor.
-
when we create a block inside text editor, by pressing any key, that block disappears, while existing block, if suddenly u press DEL key, content of that block get detroyed. i dont want this, i want to have a block remain persist. pay attention i am talking only about text editor not data manippulate or SQL server or....... just inside of text editor.
Sorry, but i really don't understand you question... You don't wan't to destroy the selected text by pressing del or any other key? Is this right? What do you mean with a "block" inside text editor? But i really don't get what have this with C# together or with SQL server... really strange :omg:
-
when we create a block inside text editor, by pressing any key, that block disappears, while existing block, if suddenly u press DEL key, content of that block get detroyed. i dont want this, i want to have a block remain persist. pay attention i am talking only about text editor not data manippulate or SQL server or....... just inside of text editor.
Please don't repost questions so quickly. The original question is only a couple of threads below, and it's not very considerate of you reposting just to bump your post up.
I have CDO, it's OCD with the letters in the right order; just as they ruddy well should be
-
when we create a block inside text editor, by pressing any key, that block disappears, while existing block, if suddenly u press DEL key, content of that block get detroyed. i dont want this, i want to have a block remain persist. pay attention i am talking only about text editor not data manippulate or SQL server or....... just inside of text editor.
Did you have a question? Edit: Wait, wait, what...? You want a read-only section of a text file? :wtf: Because you're a clumsy typist? Spend more time doing it, slow down, pay attention to what you're doing. Haste makes waste. P.S. And you know about undo, right?
modified on Monday, August 30, 2010 11:03 PM
-
when we create a block inside text editor, by pressing any key, that block disappears, while existing block, if suddenly u press DEL key, content of that block get detroyed. i dont want this, i want to have a block remain persist. pay attention i am talking only about text editor not data manippulate or SQL server or....... just inside of text editor.
faraz34 wrote:
when we create a block inside text editor, by pressing any key, that block disappears,while existing block, if suddenly u press DEL key, content of that block get detroyed.i dont want this
If it's a
RichTextBox
, than this can be prevented with theSelectionProtected
[^] property. You'd use the SelectionStart and SelectionLength properties to define the part that you want to protect, and than you set the SelectionProtected property to true. Hope this helps, and my apologies for the rude answers :)I are Troll :suss:
-
Sorry, but i really don't understand you question... You don't wan't to destroy the selected text by pressing del or any other key? Is this right? What do you mean with a "block" inside text editor? But i really don't get what have this with C# together or with SQL server... really strange :omg:
ok, let me explain more when u r typing a text, if press DownArrow while holding the Shift key, a block will be generated. BLOCK in text means a selected portion of text ok? after creating a block, if u press for example uparrow or home or..... that portion of text(BLOCK) will get unselected. i dont want this. i want that block still stay selected.