... Facets()\Index\ByteEnd = StringByteLength(plainText, #PB_UTF8) + StringByteLength(displayText, #PB_UTF8)
Facets()\Features(0)\Type = "app.bsky.richtext.facet#link"
Facets()\Features(0)\Uri = url
plainText + displayText + remainder
Next
ProcedureReturn plainText
EndProcedure ...
Search found 968 matches: Rich
Searched query: +Rich
- Sun Jan 04, 2026 2:10 pm
- Forum: Tricks 'n' Tips
- Topic: Posting on Bluesky
- Replies: 1
- Views: 1995
- Thu Dec 25, 2025 2:54 am
- Forum: Coding Questions
- Topic: Is it possible to use array cell contents as variable names
- Replies: 9
- Views: 584
Re: Is it possible to use array cell contents as variable names
... direct and indirect factors.
I hope that helps in the understanding of the VM. It's a workable concept but it is difficult to describe its efficacy in a language made of semidynamic memory allocation. C++ is rich with functionality, but it has its limitations based on current technology and routines.
I hope that helps in the understanding of the VM. It's a workable concept but it is difficult to describe its efficacy in a language made of semidynamic memory allocation. C++ is rich with functionality, but it has its limitations based on current technology and routines.
- Wed Dec 24, 2025 6:46 am
- Forum: Coding Questions
- Topic: Is #CRLF$ obsolete?
- Replies: 7
- Views: 569
Re: Is #CRLF$ obsolete?
... OS X.
But the api allows for #LF EOL char with the following.
Bummer, it fails, so I have to replace the EOLs.
MS API
; Make EOL char = #LF
; Rich Edit Control
#EM_SETEDITSTYLEEX = #WM_USER + 275
#SES_EX_NOTABLE = 4
#EM_SETENDOFLINE = $0511
#EC_ENDOFLINE_DETECTFROMCONTENT = 0
#EC_ENDOFLINE_CRLF ...
But the api allows for #LF EOL char with the following.
Bummer, it fails, so I have to replace the EOLs.
MS API
; Make EOL char = #LF
; Rich Edit Control
#EM_SETEDITSTYLEEX = #WM_USER + 275
#SES_EX_NOTABLE = 4
#EM_SETENDOFLINE = $0511
#EC_ENDOFLINE_DETECTFROMCONTENT = 0
#EC_ENDOFLINE_CRLF ...
- Sat Dec 06, 2025 11:18 pm
- Forum: Coding Questions
- Topic: Insert / Overtype mode
- Replies: 3
- Views: 702
Re: Insert / Overtype mode
I also cannot find any way to control the Insert / Overwrite modes. It seems strange that something like this cannot be controlled by software. I guess if anyone figures it out, they could become rich !!!
Thanks for trying anyway.
Thanks for trying anyway.
- Wed Nov 12, 2025 4:12 pm
- Forum: Coding Questions
- Topic: EditorGadget - reset the style of the copied text.
- Replies: 16
- Views: 1391
Re: EditorGadget - reset the style of the copied text.
... format that it recognizes, which presumably is the most descriptive format.
From:
https://learn.microsoft.com/en-us/windows/win32/controls/use-rich-edit-clipboard-operations
The clipboard has the text with and without formatting
When you use PB's GetClipboardText(), you are getting text ...
From:
https://learn.microsoft.com/en-us/windows/win32/controls/use-rich-edit-clipboard-operations
The clipboard has the text with and without formatting
When you use PB's GetClipboardText(), you are getting text ...
- Wed Nov 12, 2025 2:41 pm
- Forum: Tricks 'n' Tips
- Topic: Clipboard UI Inspector
- Replies: 9
- Views: 2330
Re: Clipboard UI Inspector
... HTML Format")
If gHtmlRaw$ <> ""
gHtmlFrag$ = ExtractHtmlFragment(gHtmlRaw$)
EndIf
; RTF
gRtf$ = ReadClipboardRegisteredAscii("Rich Text Format")
; Unicode Text
gUnicodeText = GetClipboardText()
; ANSI Text
gAnsiText = ReadClipboardAnsiText()
; Image
gImage ...
If gHtmlRaw$ <> ""
gHtmlFrag$ = ExtractHtmlFragment(gHtmlRaw$)
EndIf
; RTF
gRtf$ = ReadClipboardRegisteredAscii("Rich Text Format")
; Unicode Text
gUnicodeText = GetClipboardText()
; ANSI Text
gAnsiText = ReadClipboardAnsiText()
; Image
gImage ...
- Wed Nov 12, 2025 1:50 pm
- Forum: Tricks 'n' Tips
- Topic: Clipboard UI Inspector
- Replies: 9
- Views: 2330
Re: Clipboard UI Inspector
@dige,
I made some small changes to your code.... Hope you don't mind.
1. Show RTF format in plain and rich text format style (see tab RTF) // I didn't want to mess with the tabs.
2. Window is now sizable.
I did not change the version in the header. I'll leave that up to you, if you want ...
I made some small changes to your code.... Hope you don't mind.
1. Show RTF format in plain and rich text format style (see tab RTF) // I didn't want to mess with the tabs.
2. Window is now sizable.
I did not change the version in the header. I'll leave that up to you, if you want ...
- Wed Nov 12, 2025 8:52 am
- Forum: Coding Questions
- Topic: EditorGadget - reset the style of the copied text.
- Replies: 16
- Views: 1391
Re: EditorGadget - reset the style of the copied text.
... I'm writing this, have you had any ideas ? Well, it was included for a reason ! The problem or trick is that I need this functionality (such as rich text). In some cases, I need to highlight or mark certain sections of text.
So...
I repeat my question: how to do this ?
I think this is possible ...
So...
I repeat my question: how to do this ?
I think this is possible ...
- Wed Nov 12, 2025 7:50 am
- Forum: Coding Questions
- Topic: EditorGadget - reset the style of the copied text.
- Replies: 16
- Views: 1391
Re: EditorGadget - reset the style of the copied text.
The EditorGadget uses rich text, so it will paste in the style of text it was copied (like from Word). If you don't want that, you need to paste the text from Word as plain text into the EditorGadget, so it uses your EditorGadget font instead.
- Fri Sep 26, 2025 1:22 pm
- Forum: 3D Programming
- Topic: Should I build my own sprite-based UI system or wait?
- Replies: 19
- Views: 3537
Re: Should I build my own sprite-based UI system or wait?
... think there's a lot of fun to be had in writing your own, as long as you have the time to spare & your aspirations are realistic. A full & feature-rich UI would be a lot of work, but a 'only what you need' approach could suffice.
I wrote a minimalistic one earlier this year that enabled some basic ...
I wrote a minimalistic one earlier this year that enabled some basic ...
- Fri Sep 26, 2025 8:14 am
- Forum: 3D Programming
- Topic: Should I build my own sprite-based UI system or wait?
- Replies: 19
- Views: 3537
Re: Should I build my own sprite-based UI system or wait?
I think there's a lot of fun to be had in writing your own, as long as you have the time to spare & your aspirations are realistic. A full & feature-rich UI would be a lot of work, but a 'only what you need' approach could suffice.
I wrote a minimalistic one earlier this year that enabled some basic ...
I wrote a minimalistic one earlier this year that enabled some basic ...
- Tue Sep 09, 2025 2:28 pm
- Forum: Tricks 'n' Tips
- Topic: Clipboard UI Inspector
- Replies: 9
- Views: 2330
Clipboard UI Inspector
... h) : EndIf
EndIf
EndIf
ProcedureReturn s$
EndProcedure
Procedure.s GetRtf()
Protected s$ = ""
Protected cf = RegisterClipboardFormat_("Rich Text Format")
If cf And IsClipboardFormatAvailable_(cf)
Protected h = GetClipboardData_(cf)
If h
Protected *p = GlobalLock_(h)
If *p : s ...
EndIf
EndIf
ProcedureReturn s$
EndProcedure
Procedure.s GetRtf()
Protected s$ = ""
Protected cf = RegisterClipboardFormat_("Rich Text Format")
If cf And IsClipboardFormatAvailable_(cf)
Protected h = GetClipboardData_(cf)
If h
Protected *p = GlobalLock_(h)
If *p : s ...
- Mon Aug 18, 2025 1:44 am
- Forum: General Discussion
- Topic: Build a text editor
- Replies: 37
- Views: 7063
Re: Build a text editor
... problem... Sure...
I will wait if anybody looks a performance problem with this small 3rd simulation.
And I will need a convention language to enrich the text, because the RTF language is absolutely not what I prefer. I d like a simpler language, an intuitive thing, which eases the write of a rich ...
I will wait if anybody looks a performance problem with this small 3rd simulation.
And I will need a convention language to enrich the text, because the RTF language is absolutely not what I prefer. I d like a simpler language, an intuitive thing, which eases the write of a rich ...
- Mon Jul 28, 2025 9:34 pm
- Forum: Game Programming
- Topic: Primitive scenary editor
- Replies: 1
- Views: 1759
Primitive scenary editor
... draft to get an idea because I never take notes or plan how to make the programs, everything is in the coconut :mrgreen:
I hope it will help someone, that they make a game, that they sell it, that they become rich, that they set up an aerospace company... hmm. Wait!, that's already happened... :lol:
I hope it will help someone, that they make a game, that they sell it, that they become rich, that they set up an aerospace company... hmm. Wait!, that's already happened... :lol:
- Sun Jul 13, 2025 10:31 pm
- Forum: General Discussion
- Topic: Build a text editor
- Replies: 37
- Views: 7063
Re: Build a text editor
... I can just add step by step the answers I find by testing to technical questions.
A technical question is about the easier ways we have :
- a rich text support on Microsoft
- a pdf support on Linux
This let us imagine a byte code dedicated to rich text.
Note that I test on full screen. I ...
A technical question is about the easier ways we have :
- a rich text support on Microsoft
- a pdf support on Linux
This let us imagine a byte code dedicated to rich text.
Note that I test on full screen. I ...