Search found 955 matches: Rich

Searched query: +Rich

by minimy
Mon Jul 28, 2025 9:34 pm
Forum: Game Programming
Topic: Primitive scenary editor
Replies: 1
Views: 193

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:
by Olli
Sun Jul 13, 2025 10:31 pm
Forum: Off Topic
Topic: Build a text editor
Replies: 23
Views: 1036

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 ...
by JHPJHP
Sat Jun 07, 2025 6:11 pm
Forum: Announcement
Topic: OpenAI REST API
Replies: 29
Views: 2970

Re: ChatGPT REST API

... Enhancements (Should You Implement It)
Pre-prompt Classification Layer
Use script to classify the board state into categories (e.g., “merge-rich,” “clustered,” “blocked,” “stalled”) and tag prompts accordingly.

Prompt Library with Token Budgeting
Maintain a set of minimalistic prompts ...
by Quin
Fri May 30, 2025 1:16 pm
Forum: Feature Requests and Wishlists
Topic: Enable expandability of the gadget library
Replies: 8
Views: 850

Re: Enable expandability of the gadget library

I fully agree with this feature request, but EditorGadget() is already a rich edit gadget and we have TreeGadget :?:
by tspivey
Sun May 25, 2025 5:48 am
Forum: Feature Requests and Wishlists
Topic: EditorGadget reads final lines incorrectly with screen readers
Replies: 18
Views: 1259

Re: EditorGadget reads final lines incorrectly with screen readers

... EM_SETTEXTMODE to the control with TM_PLAINTEXT. Put this before the first AddGadgetItem call:

SendMessage_(GadgetID(0), #EM_SETTEXTMODE, #TM_RICHTEXT, 0)


And NVDA reads it correctly again. This sets the mode back to the default.

Maybe NVDA and Narrator weren't designed to handle rich text ...
by Quin
Sat May 24, 2025 11:02 pm
Forum: Feature Requests and Wishlists
Topic: EditorGadget reads final lines incorrectly with screen readers
Replies: 18
Views: 1259

Re: EditorGadget reads final lines incorrectly with screen readers

Something interesting I notice is that in wordpad's rich edit control, if I type a line of text and don't press enter, then try to left/right arrow to read by character, my screen reader will see a line feed as the last character, even though I didn't insert one. PB's EditorGadgets don't have this ...
by Quin
Mon May 19, 2025 1:34 pm
Forum: Feature Requests and Wishlists
Topic: EditorGadget reads final lines incorrectly with screen readers
Replies: 18
Views: 1259

Re: EditorGadget reads final lines incorrectly with screen readers

PB's rich edit control is the only edit control I've seen do this. wxWidget's wxRichTextCtrl doesn't do it, nor does wordpad.
Good catch on the \rs nsstudios, I never would've thought to check that.
by RalfP
Tue May 06, 2025 1:57 am
Forum: Coding Questions
Topic: EditorGadget() clears the clipboard when the program ends
Replies: 23
Views: 1126

Re: EditorGadget() clears the clipboard when the program ends

Thanks for testing.

The Rich Text Editor control only returns the CF_OEMTEXT format to the clipboard, and some programs can't handle this when pasting.
So this is an incompatibility between the Rich Text Editor control and the other programs (e.g., Notepad) and not a PureBasic bug.

I'll use the ...
by Quin
Mon Apr 14, 2025 5:08 pm
Forum: Coding Questions
Topic: Disabling message beeps in EditorGadget() on Windows?
Replies: 9
Views: 404

Disabling message beeps in EditorGadget() on Windows?

... Stack Overflow answer about how to eliminate the frankly incredibly annoying message beep that occurs when doing many actions in an EditorGadget/rich text control. However, COM in PB terrifies me and I'm frankly horrible at it, and have no idea how to do any of this. I figured one of the wizards ...
by BarryG
Sun Feb 23, 2025 6:16 am
Forum: General Discussion
Topic: Difficulty with Editor Gadget
Replies: 13
Views: 2021

Re: Difficulty with Editor Gadget

Yeah, that looks like rich text to me, because there's two different font sizes. So I was right in my initial comment.
by AZJIO
Sun Feb 23, 2025 5:36 am
Forum: General Discussion
Topic: Difficulty with Editor Gadget
Replies: 13
Views: 2021

Re: Difficulty with Editor Gadget

coco2 wrote: Sun Feb 23, 2025 4:13 am remove all rich text formatting
What version of PureBasic are you using? In recent versions, RTF is disabled by default.
by coco2
Sun Feb 23, 2025 4:13 am
Forum: General Discussion
Topic: Difficulty with Editor Gadget
Replies: 13
Views: 2021

Re: Difficulty with Editor Gadget

I may not have been clear, I'm trying to remove all rich text formatting from the editor gadget, but not having any luck.
by BarryG
Sun Feb 23, 2025 4:05 am
Forum: General Discussion
Topic: Difficulty with Editor Gadget
Replies: 13
Views: 2021

Re: Difficulty with Editor Gadget

I didn't know it was rich text. The help doesn't say anything about rich text. How would you even use rich text in it?

Oh, I mistakenly assumed it was because you mentioned the different font size, and I thought you meant the editor had different font sizes in it for different parts of its text ...
by coco2
Sun Feb 23, 2025 3:07 am
Forum: General Discussion
Topic: Difficulty with Editor Gadget
Replies: 13
Views: 2021

Re: Difficulty with Editor Gadget

I didn't know it was rich text. The help doesn't say anything about rich text. How would you even use rich text in it?
by BarryG
Sun Feb 23, 2025 1:58 am
Forum: General Discussion
Topic: Difficulty with Editor Gadget
Replies: 13
Views: 2021

Re: Difficulty with Editor Gadget

Copying and pasting rich text always uses how it was copied, so this is normal (see WordPad, Word, etc). You can't change it to what the font size currently is because it hasn't been copied that way.