Giter Club home page Giter Club logo

Comments (9)

nvbn avatar nvbn commented on July 21, 2024

It's good and necessary but later.
Now this feature requires some big hacks.

from everpad.

 avatar commented on July 21, 2024

I'm gutted to say that despite being really impressed with Everpad in the last hour it's been on my computer, I can't use it until it supports tabs. I do all my 500+ notes with Nixnote currently using tab indents in every note. I could type 5 spaces as a workaround, but no - I'll keep using Nixnote at work and Everpad at home until Everpad supports tabs.
This is an incredible project - many thanks to nvbn for putting this together. Is there an official website?

from everpad.

hdave avatar hdave commented on July 21, 2024

I too make heavy use of tabs to represent indentation levels in an outline. Everpad is mostly read-only for me until this gets addressed. I can appreciate is requires a big hack, but without it, I can't edit 98% of my notes.

from everpad.

hdave avatar hdave commented on July 21, 2024

Here's some feedback on the 1.10.0 release:

  1. When I type a "tab" character as a leading tab for a line, I would have expected it to stay as a tab in the Everpad editor...it's only during the "upload" of the note that I would expect the line leading tabs to get converted to indents. As it is, they get converted to indents as I type, which makes deleting them or adjusting them impossible. In other words, I think that the Everpad editor should only uses "tabs"...ever....but that they should be converted 1:1 with "indent" levels when going to and from Evernote servers.

  2. After I created a note with tabs in it, and then sync'd all the tabs/indents were missing inside of Evernote.

  3. If I hit "enter" at the end of a line with leading tabs, I'd expect Everpad to add the same number of leading tabs to the new empty line created.

  4. Indents in existing evernote notes were not converted to tabs.

In any event, thanks for tackling this difficult issue...we are getting there!

from everpad.

 avatar commented on July 21, 2024

I notice in 1.11 that Everpad now preserves leading tabs on upload/sync, but Evernote and Nixnote still fail to "notice" the tabs and they simply disappear, causing all my careful indentation to disappear.
Is a simple workaround to have Everpad insert 5 spaces when the tab key is pressed? Or convert to 5 spaces when uploading to Evernote?

from everpad.

 avatar commented on July 21, 2024

This seems to be fixed for me now. Tested using Everpad 2, then looking on the Evernote website. I haven't checked Nixnote compatibility, but if the website is showing them, that's all that really matters.

from everpad.

fmoo avatar fmoo commented on July 21, 2024

@hdave - can you confirm the latest evernote works well for you?

from everpad.

hdave avatar hdave commented on July 21, 2024

Here is my latest feedback (Architecture: amd64, Version: 2.0.1-0~quantal):

Sub Issue 1 -- It appears that all tabs in Everpad are converted to 4 spaces on their way to Evernote and groups of 4 spaces are converted back into tabs. IIRC Evernote editors do not support tab (\t) characters so this behavior is probably a nice feature for tab characters that appear in the middle of a line (or at the end), but it is not good for tabs that appear at the beginning of a line. When tabs appear at the beginning of a line they should be converrted to whatever indentation markup Evernote uses.

Sub Issue 2 -- The conversion of tabs to spaces is buggy. For example, if you create a note in evernote with multiple spaces in the middle of a sentence you will notice it deletes a character after every sync, thus slowly destroying your note!. Also sometimes groups of spaces in EN are converted to a single space in EP instead of a tab. This feature needs more testing for sure. I would also suggest you have an option for controlling how many space characters should be used during the substitution.

Sub Issue 3 -- When typing in EP, hitting tab once at the beginning of a line has the effect of indenting the line within the EP editor. This is not desirable as there is no easy way to control the indentation level. The result is that if you want to remove the indent, you need to delete the entire line of text. I suggest you simply leave tabs as plain tabs while in the EP editor and never use indentation markup. Also, the second or third tab you hit on a line stays as a tab character...so having the first tab result in an indentation is also inconsistent.

Sub Issue 4 -- When pushing the note to EN, EP should convert leading tab characters to indentation markup for all contiguous lines that have (at least) the same number of tabs. Likewise, when pulling an updated note from EN, you should convert indentation markup to leading tabs for all the lines within the indented region. I realize that this algorithm may not be easy to code, but it is a fundamental requirement to making EP a usable EN editor.

Sub Issue 5 -- By default, when typing a "return" in the EP editor, the editor should automatically add the same number of tabs at the beginning of the newly created line that the previous line had. Thus simulating the indentation capability in the other EN editors.

Hope this helps. If you want I can close this issue and create 5 separate issues.

from everpad.

hdave avatar hdave commented on July 21, 2024

accidently hit the close button! wups...

from everpad.

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.