Is there a list of the colors/styles for the built-in editor?

Any questions? Need some help?
Post Reply
User avatar
Wolfie
Posts: 144
Joined: 27 Oct 2015, 02:59

Is there a list of the colors/styles for the built-in editor?

Post by Wolfie »

Like 'def' and 'return' being a dark pink/purple, etc. Wondering where the codes are for that. 😁
User avatar
rednoah
The Source
Posts: 24105
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Is there a list of the colors/styles for the built-in editor?

Post by rednoah »

:idea: FileBot uses RSyntaxTextArea for the code editor component.

:arrow: The eclipse theme is used by default in light mode I believe:
https://github.com/bobbylight/RSyntaxTe ... clipse.xml
:idea: Please read the FAQ and How to Request Help.
User avatar
Wolfie
Posts: 144
Joined: 27 Oct 2015, 02:59

Re: Is there a list of the colors/styles for the built-in editor?

Post by Wolfie »

Thanks. Trying to configure Notepad++ to use similar colors when selecting "Filebot" as the language. (I know it's not an actual language, but it's just for cosmetics.)
User avatar
rednoah
The Source
Posts: 24105
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Is there a list of the colors/styles for the built-in editor?

Post by rednoah »

You could also try RText: A syntax highlighting, code folding, programmer's text editor written in Swing as text editor. That way you get the same colours because it's the same code that FileBot is using.
:idea: Please read the FAQ and How to Request Help.
User avatar
Wolfie
Posts: 144
Joined: 27 Oct 2015, 02:59

Re: Is there a list of the colors/styles for the built-in editor?

Post by Wolfie »

I'll take a look at it. I like Notepad++ because I can double click a word and it'll highlight all instances of it. Helps to show me how many times I'm using a variable assignment (for example) to know if it's worth it or not. Don't suppose you could work that into the Filebot editor? lol... Double click a word to highlight it and then highlight all instances of it. 😁
User avatar
rednoah
The Source
Posts: 24105
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Is there a list of the colors/styles for the built-in editor?

Post by rednoah »

I'll see about enabling the "Mark Occurrences" in the RSyntaxTextArea component we are using. I'm not sure as it will add complexity and make the format editor even more daunting to new users, but perhaps it's a good idea to just enable it for the next release and see what comes back from our users.
:idea: Please read the FAQ and How to Request Help.
User avatar
Wolfie
Posts: 144
Joined: 27 Oct 2015, 02:59

Re: Is there a list of the colors/styles for the built-in editor?

Post by Wolfie »

rednoah wrote: 18 Aug 2025, 12:31 I'll see about enabling the "Mark Occurrences" in the RSyntaxTextArea component we are using. I'm not sure as it will add complexity and make the format editor even more daunting to new users, but perhaps it's a good idea to just enable it for the next release and see what comes back from our users.
Is it out yet? Is it out yet?

lol

When you say "daunting," you just mean confusing or intimidating? Or is there a resource factor here as well?
User avatar
rednoah
The Source
Posts: 24105
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Is there a list of the colors/styles for the built-in editor?

Post by rednoah »

Wolfie wrote: 18 Aug 2025, 21:11 Is it out yet? Is it out yet?
Yep, you can try the latest revision and take it for a spin:
viewtopic.php?t=1609

Wolfie wrote: 18 Aug 2025, 21:11 When you say "daunting," you just mean confusing or intimidating? Or is there a resource factor here as well?
Purely intimidating to new and less technical users. "Mark Occurrences" might not scale well for very large source files, but a typical FileBot format is very very small by source code standards so you're unlikely to run into a bottleneck there.
:idea: Please read the FAQ and How to Request Help.
User avatar
Wolfie
Posts: 144
Joined: 27 Oct 2015, 02:59

Re: Is there a list of the colors/styles for the built-in editor?

Post by Wolfie »

Is there a way to make it only do it if the enter word is highlighted?
User avatar
rednoah
The Source
Posts: 24105
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Is there a list of the colors/styles for the built-in editor?

Post by rednoah »

Wolfie wrote: 20 Aug 2025, 00:05 Is there a way to make it only do it if the enter word is highlighted?
Unfortunately, not easily. The current behaviour is built-in behaviour that cannot be changed easily. I could try to turn the current behaviour on / off depending on wether something is selected. That said, I kinda like things getting highlighted as a type.
:idea: Please read the FAQ and How to Request Help.
User avatar
Wolfie
Posts: 144
Joined: 27 Oct 2015, 02:59

Re: Is there a list of the colors/styles for the built-in editor?

Post by Wolfie »

Oh geez, I created a monster. lol

Perhaps make it a toggle (off by default unless an option used in command line when launching it)? The implementation (not your fault) is annoying.
User avatar
rednoah
The Source
Posts: 24105
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Is there a list of the colors/styles for the built-in editor?

Post by rednoah »

I guess I’ll disable it again for upcoming builds. We probably disabled that feature for a reason in the first place a long time ago.
:idea: Please read the FAQ and How to Request Help.
Post Reply