Coder Social home page Coder Social logo

Comments (5)

ransome1 avatar ransome1 commented on September 26, 2024

I'm not sure if it is a good idea to filter out characters based on a single use case. What is a problematic character to you, might be very relevant to others.

The todo.txt rules state that in order to parse a context for instance it must be prepend by a space and the @ sign. So I'm afraid it's probably your duty to get those characters out of the file.

Have you tried using this file in other todo.txt apps? I'm curious if those are capable of filtering this character.

from sleek.

kettenfett avatar kettenfett commented on September 26, 2024

@ransome1
I now realised, the appearance of the symbol doesn't have anything to do with inserting text from other programs. It's actually inserted by sleek itself, whenever the task is expanded with
grafik
and in this expanded view the ENTER key is is used to create newlines.

For every ENTER one square symbol is inserted. They then become visible when saving or going back to non-expanded viewmode.
grafik

grafik

This then causes the failed parsing of tags:

grafik

This is 100% in sleek, no text inserted from anywhere, just typed.

from sleek.

ransome1 avatar ransome1 commented on September 26, 2024

You're right these characters are added by sleek. It's actually how the text area feature has been requested a while ago. sleek needs to have some information in the text file line in order to restore the lines in the text area.

Without these characters you would create a multi line todo and the next time you open it, the todo would be back to single line again. That invisible character tells sleek where it needs to break the line in the text area.

I wouldn't know how to solve this without removing the feature :/ If you have an idea, let me know.

from sleek.

ransome1 avatar ransome1 commented on September 26, 2024

With the new implementation this method has not changed. We still need a delimiter saved in the line in order to restore the line breaks in the multi line text field.

However a couple of things have been implemented differently. Feel free to just try it out. Maybe it resolves the issue for you: https://github.com/ransome1/sleek/releases/tag/v2.0.0-dev17

I'm collecting feedback for this feature here: #551

from sleek.

github-actions avatar github-actions commented on September 26, 2024

This is an automated response. We acknowledge your report, and we appreciate your engagement. However, as there has been no recent activity in this thread, it has been marked as stale. If you have any further feedback or if the matter is still relevant, please do not hesitate to respond. Otherwise, this thread will be automatically closed in 15 days from now.

from sleek.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.