Skip to content
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

v2.12.1 default file format assignment, new file not working as expected #2297

Closed
4 tasks done
michibr81 opened this issue May 20, 2024 · 7 comments · Fixed by #2300
Closed
4 tasks done

v2.12.1 default file format assignment, new file not working as expected #2297

michibr81 opened this issue May 20, 2024 · 7 comments · Fixed by #2300
Assignees
Labels
Milestone

Comments

@michibr81
Copy link

⚠️ This issue respects the following points: ⚠️

  • This is a bug. Not a question or feature request.
  • The topic is not already reported at Issues. (I've searched it).
  • Markor is up to date. See Releases for the latest version. Updates are available from F-Droid and GitHub.
  • The bug is still present in the latest development version (git master). (Please download and try the test version of Markor, named Marder. Don't worry; Markor and Marder appear as completely separate applications. You can install both side-by-side, and Markor settings are not touched. In case the issue is resolved there, you don't need to create a bug report. The change will be part of the next Markor update.)

Description

Updated to Version 2.12.1 and no have no syntaxhighlighting in Todo.txt format (no categories, no topics, no priority, checkecd or unchecked not visible). No buttons available any more for categories. No sorting possible.

Steps to reproduce

  1. Open file in todo.txt format
  2. Add text
(A) Go Shopping @Household +Walmart
x (B) Renew brakes  http://howtofixbrake.com @Car
  1. No Syntaxhighlighting visible (except url)

Information

Android version: 14
Device: Zenfone 10
App Version: 2.12.1

Source

Google Play

Format / File type

todo.txt

Additional info / Log

-
@gsantner
Copy link
Owner

@harshad1 Seems like the todo.txt detection not takes priority over plaintext .txt with new registry

@michibr81 Use the top file menu and change the format to todo.txt.

@gsantner gsantner changed the title Todo.txt format has no syntaxhighlighting with v2.12.1 Todo.txt format not selected for todo.txt files in v2.12.1 May 20, 2024
@michibr81
Copy link
Author

Actually I tried this but forgot to switch off Auto-Format before. After doing so the solution you mention works. Thanks.

@gsantner
Copy link
Owner

New file - todo.txt example is not making the right contents either currently

@bruvellu
Copy link

I believe a similar issue is happening with the Wikitext format. After the v2.12.1 update, my Zim wiki files are now detected as Plain Text (no formatting). If I manually change the format of individual files, the formatting comes back, but the auto-detection doesn't seem to be working.

And, since you mentioned the new file issue, I just noticed that creating a new file using the zim-wiki-empty.txt template crashes the app. Maybe it's also related. Should I open a new issue with more details about the crash?

Cheers,
Bruno

@gsantner
Copy link
Owner

gsantner commented May 20, 2024 via email

@gsantner gsantner changed the title Todo.txt format not selected for todo.txt files in v2.12.1 v2.12.1 default file format assignment, new file not working as expected May 20, 2024
@gsantner gsantner added the bug label May 25, 2024
@gsantner gsantner added this to the Markor v2.13 milestone May 25, 2024
@gsantner gsantner linked a pull request May 25, 2024 that will close this issue
@bruvellu
Copy link

bruvellu commented Jun 4, 2024

Hi @gsantner, creating a new file using the zim-wiki-empty.txt template is still crashing the app for me in v2.12.2. Can you reproduce this as well?

@gsantner
Copy link
Owner

gsantner commented Jun 5, 2024

There are numerous dicscussions here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants