mastodonien.de

mastodon.online

Zeitpunkt              Nutzer    Delta   Tröts        TNR     Titel                     Version  maxTL
Mi 03.07.2024 00:00:00   191.579      -2    9.082.513    47,4 Mastodon                  4.3.0...   500
Di 02.07.2024 00:00:03   191.581    -290    9.073.920    47,4 Mastodon                  4.3.0...   500
Mo 01.07.2024 00:00:01   191.871      -2    9.065.005    47,2 Mastodon                  4.3.0...   500
So 30.06.2024 00:00:04   191.873      -4    9.057.767    47,2 Mastodon                  4.3.0...   500
Sa 29.06.2024 00:00:03   191.877      -2    9.048.452    47,2 Mastodon                  4.3.0...   500
Fr 28.06.2024 00:00:02   191.879       0    9.047.750    47,2 Mastodon                  4.3.0...   500
Do 27.06.2024 00:00:02   191.879      -3    9.040.276    47,1 Mastodon                  4.3.0...   500
Mi 26.06.2024 00:00:02   191.882      -3    9.034.026    47,1 Mastodon                  4.3.0...   500
Di 25.06.2024 00:00:02   191.885      -2    9.024.989    47,0 Mastodon                  4.3.0...   500
Mo 24.06.2024 00:00:06   191.887       0    9.016.534    47,0 Mastodon                  4.3.0...   500

Mi 03.07.2024 19:31

These problems are always interesting to solve. So, in my app, pressing Ctrl+T makes one of two tree views (called "Project" and "Novel") visible, and on a second click, switches between them.

The search box is also on the same widget stack, so both can be invisible. The whole "Main" editor view is also on a widget stack, and an Outline view can be visible instead.

The code was getting rather convoluted, so I made this matrix and compacted everything into a single if. 😊

A screenshot of code showing the decision matrix of a piece of code, and the resulting if statement that compares the five input conditions against one of two outcomes.

A screenshot of code showing the decision matrix of a piece of code, and the resulting if statement that compares the five input conditions against one of two outcomes.

[Öffentlich] Antw.: 0 Wtrl.: 0 Fav.: 0 · via Web

Antw. · Weiterl. · Fav. · Lesez. · Pin · Stumm · Löschen