textrange Questions
5
Solved
I would like to highlight (apply css to) a certain text range, denoted by its start and end position. This is more diffucult than it seems, since there may be other tags within the text, that need ...
Bluepoint asked 5/6, 2011 at 0:3
2
Solved
I have multiple FlowDocuments that I would like to concatenate together.
The method below doesn't have a return statement.
What I would like to do is to turn the TextRange back into a FlowDocument....
Mycostatin asked 29/2, 2012 at 23:13
4
Solved
Suppose I have this HTML element:
<div id="parent">
Hello everyone! <a>This is my home page</a>
<p>Bye!</p>
</div>
And the user selects "home" with his mous...
Comedy asked 27/1, 2011 at 0:36
5
Solved
In Javascript, I'd like determine whether an element, say an A element, exists inside a given range/textRange. The aim is to determine if the user's current selection contains a link. I am building...
Azure asked 19/5, 2011 at 1:36
2
Solved
I am extending the functionality of a WPF Richtextbox. I want certain text to become bold when I type it in. I was able to get certain text to bold but the text following the bolded word would also...
Trumpetweed asked 6/11, 2015 at 4:46
4
I created a PowerPoint presentation using C#:
PowerPoint.Application powerpointApplication;
PowerPoint.Presentation pptPresentation;
PowerPoint.Slide Slide;
// Create an instance of PowerPoint.
p...
Open asked 9/3, 2011 at 14:23
3
I seem to have found an issue with Internet Explorer 8, when finding the position of a Text Range - For instance the currently selected text. I have not found been able to find any reports of this ...
Prate asked 14/5, 2012 at 22:30
1
Solved
Can anyone tell me why this code is returning undefined.
I was hoping this would give the left coordinate of the user selected text.
function alertRangeObject(){
var userSelection;
if(window.g...
Hazard asked 20/8, 2011 at 18:34
1
Firefox 3 can select MULTIPLE areas of text with JS.
Is there a way doing this in Chrome and IE?
I really tried to find a way to select of multiple
textareas in a web page in Chrome and IE9.
...
Primaveria asked 13/2, 2011 at 16:20
1
Solved
I have a textarea and when I click in it I want to move the caret to the last character so Something[caret]
function moveCaret(){
// Move caret to the last character
}
<textarea onclick="mov...
Cornerwise asked 17/1, 2011 at 17:2
1
Solved
I'm building an application that needs to allow a user to insert text from one RichTextBox at the current caret position in another one. I spent a lot of time screwing around with the FlowDocument'...
Zildjian asked 3/3, 2010 at 21:7
1
© 2022 - 2024 — McMap. All rights reserved.