Closed smaragdus closed 6 years ago
I added Monokai Neo theme. Please, test it.
Note that textilosaurus uses a bit simplified style model which does not allow to use many contextual substyles (for example "identifiers" are substyled very rarely and also some other parts of displayer source texts). So, the result may look a bit flat (in a sense that smaller subset of colors is used when compared to this). This has performance reasons.
Also, some lexers/languages (see "Language" menu in Textosaurus) do not have substyles defined at all. I add them one by one as I need them. So for example C++ will display nicely colored keywords but C# won't because I did not code them in Textosaurus yet. If you often use some particular Language highlighting (for example C#, HTML, whatever) and you feel that your code is not styled with colors properly, then create bug report and list all Languages you want me to define substyles for them.
EDIT: + Of course you can add custom themes to Textosaurus in settings or you can edit file <textosaurus-user-data>\colors.ini
directly. Its syntax is pretty straightforward and MUCH shorter and easier to use than one from Notepad++.
I tested textosaurus-2018.03.26-f605498-win64.7z with Monokai Neo theme, using some sample C++ code snippets it was fine, but with sample Pascal code snippets it was not what I expected to see. So I suppose it is not worth wasting time with themes. So please feel free to close this issue.
This is because I did not add full substyles to Pascal syntax in Textosaurus. I will do, then I will close.
So I suppose it is not worth wasting time with themes.
So you think themes in Textosaurus are unusable? Are you not happy? Ellaborate...
Added Pascal full styling information. Please check.
@martinrotter
So you think themes in Textosaurus are unusable? Are you not happy? Ellaborate...
Just the opposite- if I thought so I would not have suggested to add more themes. I just supposed that porting themes to Textosaurus might be unpleasant, time-consuming job having in mind that there is no one helping you with the visual department of the program. If it happens that you have more free time in the future you may add more themes provided that you find ones that you like and you feel they belong to Textosaurus.
I tested Textosaurus version 2018.03.26-c3a9056 with Pascal language and it looks good, screen:
I also put some sample Python code, it also seems fine, screen:
In one word- thanks!
Question When I copy a chunk of text, paste it into Textosaurus and scroll down to end of text it does not scroll to the last line but a way down. Isn't the scrolling down supposed to be limited to the last line? Just compare Textosaurus to Notepad++ for example- when text snippet is pasted into Notepad++ the scroll-bar automatically goes to the last line and it cannot be scrolled down further, while in Textosaurus the scroll-bar also goes to the last line but one can scroll down a way below the last line. Is this intended behaviour or a bug?
one can scroll down a way below the last line. Is this intended behaviour or a bug? This is not a bug but a feature of Scintilla component. It can be changed, question is if we want to be changeable by user or not. I agree that allowing scrolling below last line of document is probably not good default behavior.
I will switch the setting for now, and maybe I can add it as switchable option in the future if there will be interest.
@martinrotter
Currently (as of version 2018.03.26) Textosaurus comes with three built-in themes:
I use the Default one because I am bored with Solarized ones. My question- would it be possible to port to Textosaurus at least one more theme? Several possible examples:
If I had to choose one theme it would probably be Monokai Neo.
If you don't have time to mess with themes close this issue. For me changing themes from time to time is refreshing.