Questions tagged [richtextbox]
The RichTextBox control allows to display or edit RTF (Rich Text Format) content, which may include formatted paragraphs, hyperlinks, and inline images.
richtextbox
3,559
questions
0
votes
2
answers
73
views
How to copy and paste in wpf richtextbox containing runs and inlineUICOntainer?
I have created a RichTextBox in wpf containing the below content
<RichTextBox x:Name="RichTextBox"
IsDocumentEnabled="True"
AutoWordSelection="...
0
votes
0
answers
80
views
WPF MVVM - Setting the CaretPosition from ViewModel [closed]
I am trying to create a serial console output display using WPF, and I have implemented using MVVM. I have implemented the code and using an event handler for serial data received, I am receiving the ...
0
votes
0
answers
77
views
How do I make indicators different colors for different words?
I'm making a program which allows you to search for terms, and they'll all be colored in a respective color (i.e. you're searching for "wood" and "length", each occurance of wood ...
0
votes
1
answer
45
views
How do I format this richTextBox text?
I am building an app to suggest dates (romantic dates, not almenac dates) based on inputs by the user. In the end, I want to output the inputs into a richTextBox and format it to look something like:
...
0
votes
0
answers
18
views
Visual Studio 2022 C# is it possible to set richTextBox to scroll vertical with text (and vertical scrollbars are enabled)
Visual Studio 2022 C#: is it possible to set richTextBox to scroll vertically when text is entered?
I use a richtextbox as a sort of terminal (aka DOS window) and have enabled vertical scrollbars. ...
0
votes
1
answer
38
views
SfRichTextBoxAdv table borders behave strangely when loading a file from XAML
If i try to save a document to xaml file and then without modifying it at all load it back into the SfRichTextBoxAdv then all the borders on all tables would disappear.
If after loading a xaml ...
1
vote
1
answer
26
views
VB.NET rtf load mydocuments
So, I tried loading a file:
Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
RichTextBox1.LoadFile("My.Computer.FileSystem.SpecialDirectories.MyDocuments.**1....
0
votes
0
answers
20
views
In VB.Net, RichTextBox will not adjust to text height when in Panel
Following a suggestion on this site to have a RichTextBox slowly scroll down automatically, I have a RichTextBox inside a panel. The RichTextBox must have a height longer than the Panel to force the ...
0
votes
0
answers
6
views
React-native RichTextBox wants To recieve same data on next Screen
ReacT-native RichTextBox Navigation data and passing data between Screens
i want to have a rich text box on one screen where whatever i write will be displayed on the next screen, just like whatever ...
0
votes
0
answers
21
views
infinite re-renders in real time text editor with next js and flask
I have built a real time rich text editor in next js and flask but the thing is once lets say user1 (U1) starts editing, in the browsers of u2 u3, as well as even u1 it keeps re rendering the whole ...
0
votes
0
answers
51
views
How do I use font weights other than Regular and Bold? (C# WinForms)
I'm trying to use the SF Mono font in the Medium weight. The FontStyle argument doesn't seem to work with "Medium", and wants either Regular or Bold. This locks me out of Light and Heavy too....
0
votes
0
answers
15
views
Unwrap a link in slate.js when clicking on editor
Goal
First of all, I want to enter a link component inside my editor.
After that, I want the user to be able to write a text after the link.
e.g. www.google.gr Hello world
My problem
When the user ...
1
vote
1
answer
78
views
How to show diacritic accent mark in WPF RichTextBox
Inside my WPF application there is a RichTextBox and by showing its text content in VS Immediate Window there is a f character with a circumflex accent, but in the display window only renders the ...
2
votes
1
answer
57
views
Forbid to move cursor in RichTextBox past certain position
I am writing a program for entering words by syllable. The logic is, the user is entering part of the phrase (a syllable), and if it's correct it lights out a green color and adds a hyphen in the end, ...
0
votes
0
answers
76
views
Converting RTF file with images to TIFF
I got my .rtf file I generated using MSWord, and I added some images to it, it has 28000 lines, and now I'm trying to convert that rtf file to tiff image. Here's the code I have:
static void ...