Dark Mode theme, Focus mode and Typewriter Scroll.

2,135 views
Skip to first unread message

favour bede

unread,
Dec 8, 2020, 1:40:41 AM12/8/20
to ywr...@googlegroups.com
Hey Simon, hope you're safe?

I'm just curious as to if anyone has gotten a dark Mode / theme of some sort.

Secondly, are there any chances of getting Focus mode and Typewriter Scroll in the editor?.

NB: Focus mode is a feature that greys out all the other part of the document apart from the paragraph or settings you're typing on to keep you in your flow and stop you from getting distracted.

Typewriter Scroll on the other hand centres the cursor around the vertical centre of the screen so that you don't have to bend your neck looking at the bottom of the screen for hours if you're typing a long document.

What do you think of these? And I hope you got the ideas? You can check out jotterpad and is writer on Android for clarity. They have these features.

Simon Haynes

unread,
Dec 8, 2020, 1:50:55 AM12/8/20
to ywr...@googlegroups.com
Hi

yWriter got a theme engine a couple of months ago, and I put together a dark mode and included it.

Not heard of the other two modes, to be honest.  The microsoft richtextbox doesn't have support for those, alas.


Cheers
Simon


--
You received this message because you are subscribed to the Google Groups "yWriter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ywriter+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ywriter/CAObd351bJ0fu_HZ4BkgRpDjc5Ew4iQpo-bNwAuhbGiLZLWBbZA%40mail.gmail.com.


--

--
Visit Spacejock Software, the home of yWriter, FCharts and more
Visit spacejock.com.au for my articles on writing and publishing novels.

Simon Haynes

unread,
Dec 8, 2020, 1:51:40 AM12/8/20
to ywr...@googlegroups.com
PS all safe here, as I live in Western Australia.  We haven't had a Covid case in the community since March.  Hope everyone else is keeping the disease at armslength!

Cheers
Simon



On Tue, 8 Dec 2020 at 14:40, favour bede <favou...@gmail.com> wrote:
--
You received this message because you are subscribed to the Google Groups "yWriter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ywriter+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ywriter/CAObd351bJ0fu_HZ4BkgRpDjc5Ew4iQpo-bNwAuhbGiLZLWBbZA%40mail.gmail.com.

richclearpc

unread,
Dec 8, 2020, 4:04:58 PM12/8/20
to yWriter
Typewriter scrolling brings the cursor position to the centre of the editing screen as you hit return or as you type the line automatically drops to the line below. It's a neat way of not having to constantly scroll the work up from the bottom of the page all of the time. 

Perhaps a function that you would consider adding Simon?

Simon Haynes

unread,
Dec 8, 2020, 7:11:12 PM12/8/20
to ywr...@googlegroups.com
Unfortunately I'm limited by the controls Microsoft supplies with their programming language.  If the control doesn't support something, then adding it often involves intercepting Windows messages and the like.

For example, in order to add theming to the tabbed dialog boxes, I had to create a new control based on the original. Since then, about twenty percent of the times I load my project the tabbed dialog boxes (and everything inside them) have simply disappeared without warning. This means reverting to a recent backup, which is annoying.

(I also did something similar with listboxes, to stop them flickering.)

Any time you paint outside the lines, something usually breaks...

pat

unread,
Dec 12, 2020, 12:11:02 AM12/12/20
to yWriter
Sounds like something a web app like Writer by BigHugeLabs. They have dark mode (default?) then copy paste from there into yWriter.

James Earp

unread,
Jan 11, 2021, 11:12:09 PM1/11/21
to yWriter
Been with you since Y4. I see the theme changer but cannot for the life of me find the dark mode option. I tried going through and changing every setting BG individually but am still staring at bars of white that won't darken. I write at night so white burns me lol. You mentioned that there are themes saved somewhere around here, is that what I need to do is find one already made and copy/save it?

Simon Haynes

unread,
Jan 11, 2021, 11:16:52 PM1/11/21
to ywr...@googlegroups.com
Hi

Click Dark then Load (see image).  If you don't see anything in the list, click Refresh. If that still doesn't show anything, make sure you're using the most recent yWriter7. (I think this is in yWriter6 beta, but if you're using that it's possible I forgot to include the schemes in the installer.)

image.png


Todd Carnes

unread,
Jan 11, 2021, 11:25:40 PM1/11/21
to ywr...@googlegroups.com

I just did the automatic update to 7.1.1.6 and the themes are not listed.

Refresh doesn't work either.

Todd

Simon Haynes

unread,
Jan 11, 2021, 11:33:25 PM1/11/21
to ywr...@googlegroups.com
I'll check to see whether I'm including them with the program.

One possibility is that they're going into the program folder, but yWriter expects to find them here:

C:\Users\(USERNAME)\AppData\Roaming\Spacejock Software\yWriter7\Themes

I've attached the Dark and Grey themes, which can be copied into that location:


Grey.SJTheme
Dark.SJTheme

Todd Carnes

unread,
Jan 11, 2021, 11:37:00 PM1/11/21
to ywr...@googlegroups.com
I install my all programs to the D: drive. You shouldn't assume everyone
accepts the default options. :)

Todd Carnes

unread,
Jan 11, 2021, 11:39:53 PM1/11/21
to ywr...@googlegroups.com

For the record, I looked in that directory and there is only one file there called. yWriterTheme.SJTheme.

I will copy your attachments there and see what happens.

On 1/11/2021 8:32 PM, Simon Haynes wrote:

Simon Haynes

unread,
Jan 11, 2021, 11:41:35 PM1/11/21
to ywr...@googlegroups.com
That's not the program folder I supplied, it's the user's roaming folder for things like settings, etc. (If someone's moved that to another drive, I'm guessing they know enough to edit the path I provided.)

I'm just updating the Theme code so that when the form is opened, the default themes are copied from the program folder to the roaming folder - if those same files don't already exist.

This is what I do with the dictionary files, now that they're included with the program.

--
You received this message because you are subscribed to the Google Groups "yWriter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ywriter+u...@googlegroups.com.

Todd Carnes

unread,
Jan 11, 2021, 11:42:03 PM1/11/21
to ywr...@googlegroups.com

Copying the files to that directory worked.

Todd

Simon Haynes

unread,
Jan 11, 2021, 11:50:08 PM1/11/21
to ywr...@googlegroups.com
Thanks. Just finishing the code changes so that it does it automatically.


James Earp

unread,
Jan 12, 2021, 3:06:25 PM1/12/21
to yWriter
Simon,

Thanks for your attention to this. I will move those options into the folder, as mine only had the base YwriterTheme as well. (I was using the most recent Y7 as I had just downloaded it from the website).

Cheers!

James Earp

unread,
Jan 12, 2021, 3:18:34 PM1/12/21
to yWriter
Screenshot (7).png
Ok so I loaded the predone theme, and it has the same problem as the custom one I built. There isn't an option to change the theme color of the background where the tabs are. This is what the Dark theme looks like applied on my screen.

slery...@gmail.com

unread,
Jan 12, 2021, 3:41:04 PM1/12/21
to ywr...@googlegroups.com

Thanks for bringing this up, I thought it was just me.

 

Cindy

 

From: ywr...@googlegroups.com <ywr...@googlegroups.com> On Behalf Of James Earp
Sent: Tuesday, January 12, 2021 3:19 PM
To: yWriter <ywr...@googlegroups.com>
Subject: Re: [yWriter] Dark Mode theme, Focus mode and Typewriter Scroll.

 


Ok so I loaded the predone theme, and it has the same problem as the custom one I built. There isn't an option to change the theme color of the background where the tabs are. This is what the Dark theme looks like applied on my screen.

On Tuesday, January 12, 2021 at 2:06:25 PM UTC-6 James Earp wrote:

Simon,

 

Thanks for your attention to this. I will move those options into the folder, as mine only had the base YwriterTheme as well. (I was using the most recent Y7 as I had just downloaded it from the website).

 

Cheers!

On Monday, January 11, 2021 at 10:50:08 PM UTC-6 Simon Haynes wrote:

Thanks. Just finishing the code changes so that it does it automatically.

 

 

On Tue, 12 Jan 2021 at 12:42, Todd Carnes <toddc...@gmail.com> wrote:

Copying the files to that directory worked.

Todd

On 1/11/2021 8:39 PM, Todd Carnes wrote:

For the record, I looked in that directory and there is only one file there called. yWriterTheme.SJTheme.

I will copy your attachments there and see what happens.

On 1/11/2021 8:32 PM, Simon Haynes wrote:

I'll check to see whether I'm including them with the program.

 

One possibility is that they're going into the program folder, but yWriter expects to find them here:

 

C:\Users\(USERNAME)\AppData\Roaming\Spacejock Software\yWriter7\Themes

 

I've attached the Dark and Grey themes, which can be copied into that location:

 

 

On Tue, 12 Jan 2021 at 12:25, Todd Carnes <toddc...@gmail.com> wrote:

I just did the automatic update to 7.1.1.6 and the themes are not listed.

Refresh doesn't work either.

Todd

Image removed by sender.

On 1/11/2021 8:16 PM, Simon Haynes wrote:

Hi

 

Click Dark then Load (see image).  If you don't see anything in the list, click Refresh. If that still doesn't show anything, make sure you're using the most recent yWriter7. (I think this is in yWriter6 beta, but if you're using that it's possible I forgot to include the schemes in the installer.)

 

image001.png
image004.jpg
image005.jpg

Simon Haynes

unread,
Jan 12, 2021, 11:09:54 PM1/12/21
to ywr...@googlegroups.com
Unfortunately Windows doesn't allow programmers to change the tab/background colours.

I had to use a hack, which involves drawing a box (rectangle) over each tab and then manually drawing the text on top of that.

As far as I can tell, there's no way to change the background to the right of the tabs. Same with the background in the scrollbars and the selection bar itself. I think all of these are derived from the Windows desktop colour scheme, but I might be wrong.


slery...@gmail.com

unread,
Jan 12, 2021, 11:21:12 PM1/12/21
to ywr...@googlegroups.com

If it is using the desktop color scheme, then it is using the wrong one. I have mine set to dark mode and every app that allows it is dark and there are no white bars anywhere. All apps are either full dark or they remain their default. I am using yWriter 6 (I even downloaded 7 to see if it made any difference).

 

Cindy

 

From: ywr...@googlegroups.com <ywr...@googlegroups.com> On Behalf Of Simon Haynes
Sent: Tuesday, January 12, 2021 11:09 PM
To: ywr...@googlegroups.com
Subject: Re: [yWriter] Dark Mode theme, Focus mode and Typewriter Scroll.

 

Unfortunately Windows doesn't allow programmers to change the tab/background colours.

 

I had to use a hack, which involves drawing a box (rectangle) over each tab and then manually drawing the text on top of that.

 

As far as I can tell, there's no way to change the background to the right of the tabs. Same with the background in the scrollbars and the selection bar itself. I think all of these are derived from the Windows desktop colour scheme, but I might be wrong.

 

On Wed, 13 Jan 2021 at 04:18, James Earp <james...@gmail.com> wrote:

image001.png

James Earp

unread,
Jan 13, 2021, 10:45:23 AM1/13/21
to ywr...@googlegroups.com
wow. Well kudos for getting it this good!

You received this message because you are subscribed to a topic in the Google Groups "yWriter" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ywriter/vy-0_ndesmo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ywriter+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ywriter/CAN0R%3DkQkvRprOebupZZoP66qTb%2BkTJVCQ1F91tzGzHB8%2BekPOA%40mail.gmail.com.


--
James R. Earp, CPM
Director DFW CPM Program
William P. Hobby Center
Texas State University

Bommi

unread,
Jan 13, 2021, 4:03:59 PM1/13/21
to yWriter
James wrote: "I write at night so white burns me lol."

Not sure if this is helpful for you, but what about display software (dimmer)?

I use for years and recommend CareUEyes. It has an 'Edit' Preset, which inverts colors (White turns into Black)
https://care-eyes.com/

CareUEyes is free for the next 10 hours
https://sharewareonsale.com/s/free-careueyes-100-discount

Other tools are:

- f.lux - https://justgetflux.com/
- Eye Saver - https://www.eye-saver.net/
Reply all
Reply to author
Forward
0 new messages