-
Notifications
You must be signed in to change notification settings - Fork 140
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
Leading Tabs not preserved or converted #24
Comments
It's good and necessary but later. |
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. |
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. |
Here's some feedback on the 1.10.0 release:
In any event, thanks for tackling this difficult issue...we are getting there! |
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. |
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. |
@hdave - can you confirm the latest evernote works well for you? |
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. |
accidently hit the close button! wups... |
Version 1.5.0 on Ubuntu 12.04.
Steps to reproduce:
Discrepancy:
At this point when opening the note in Evernote the leading tab characters are not there. I would have expected them to be there.
Idea:
I believe the root cause of this issue is because Evernote does not handle tab characters. If this is the case, then I would like to make a suggestion that could really make Everpad THE BEST CLIENT EDITOR for Evernote bar none.
Everpad could convert leading tabs to whatever indent markup Evernote uses, and then on the way from Evernote to Everpad convert the indents back into tabs.
Idea Justification:
Again, this is only for lines that have leading tabs, not for any tabs that can be found in the middle or the end of a line of text. And again, the idea would be to actually use the tab characters in the Everpad editor...not to have tab/shift-tab indent the lines.
Thoughts?
The text was updated successfully, but these errors were encountered: