-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
empty preview for html and markdown #9
Comments
I've uploaded a test version to the PPA. I only updated the 21.04 version, since that is the one you use.
Hope you feel better. |
This is what I intend to do every day to know if the issue was fixed:
Result for today: Same issue. |
PPA updated with another version. BTW: I'm going to split xi/tweaks into two plugins. xi/tweaks will have the sidebar focus and menubar hiding, since those are the features you use. (You can suggest a new name) Separating out sidebar focus might make it easier to work on. The new plugin will possibly be submitted to geany-plugins. It will have the following:
I'm thinking about keeping the current system of editing config files instead of using a preferences dialog:
A potential problem is it's probably more difficult to translate comments in config files than strings inside programs. |
Thanks. Old issues that I have to fix. It will take a lot of time. Result for today:
Remark: Yesterday it was the other way around.
I have visited github.com/xiota/geany-tweaks. I'm little bit confused by the internet address. Why you don't call it geany-xi-tweaks instead of geany-tweaks, like it appears in the terminal (for example sudo apt show geany-plugin-xi-tweaks). For me geany-xi-tweaks and of geany-tweaks are two different names.
I'm little bit confused by the slash in the name Xi/Tweaks, because this does not appear in the terminal. So if you want to split xi/tweaks into two plugins, what about tweaks and xi-tweaks?
In the past I liked
I would not offer translations of the config-document. I would keep Geany Preview simple and small. The subject translations is the same like GUI and tutorial. What about this idea: Write a good description in the comments in the config-document, so that people can copy and paste it in a translation tool, so that users can better understand the message. At the moment the config-document is not copy-and-paste-friendly, because instead of using many sentences in one line, they are separated with a hash-sign, what makes it harder to read, even in English. |
That is strange... as before, everything is working on my end... I'll keep looking...
Name wasn't really determined yet... Will eventually unify everything when a real name is decided. Since
That is pretty much why the GUI just opens the config file in the editor.
It seems a ways away from that. xi-tweaks is closer though, when the sidebar focus highlighting is removed.
I think some people would say make it into a GUI, but that has the problem you mentioned earlier. Ideally, the defaults would work for anyone and no one would ever have to change anything.
I wouldn't do the translations. But when if it were to become part of geany-plugins, translations becomes an issue. So on my side, I just have to figure out a way to make it possible/easier for the translators. In the code, it works by marking translatable strings, like this
Unfortunately, there isn't really a way around that because the |
There could be a solution: Don't go in the next line during the explication, so the explication is in just one line. And then there is only one hash-sign, instead of for example 3 hash-signs for three lines. |
fountain: not fixed |
I just opened a new issue for that (issue number 13). |
@xiota Just for interest: What was the problem that on your computer this issue didn't exist, but on the computers I use? |
I don't know why it was working on my computer, but not yours. The condition in a couple |
Preview works perfect with txt-documents and with fountain-documents. But for html-documents (with or without DOCTYPE) and markdown-documents the Preview-tab is completely empty since the introduction of pandoc.css in the preview-file. Even if I double click in the Preview-tab, nothing happens. Same for extra_css=extra-media.css and extra_css=disable in preview.conf. If I restart Geany with an html-document or an md-document, then there is in the light theme in the Preview-tab for about 2 seconds "Loading.". And then there is nothing.
For conf-documents there is this text in the Preview-tab: "Unable to process type: Conf, UTF-8.".
html-document and md-document
If I right-click in the Preview-tab to select in the context menu "Reload", then the document appears in the Preview-tab. It works only for the single Preview-tab, so not for other html-documents and not for other md-documents at the same time. I have to do that every time I restart Geany. But if I change the tab in the editor and switch back to the tab, then Preview-tab is completely empty again. If I change the code of one html-document or one md-document in the editor, so for example if I just type one letter, like "t", then Preview-tab is completely empty again.
md-document
For md-documents it is even worst. Visit #8.
This is what I did to make a kind of reset:
Same problem like before.
This is the test-document in html:
Intermediate solution to see something in the Preview-tab
Then for all html-documents and for all md-documents there is now content in the Preview-tab, as it should be, but the content appears a little bit slower then it should be, what I can see when I restart Geany with an html-document or an md-document: In the light theme in the Preview-tab for about 2 seconds there is this text: "Loading." before the content appears in the Preview-tab.
The text was updated successfully, but these errors were encountered: