Issue: New folder in sidebar also creates a return in file

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue: New folder in sidebar also creates a return in file

feek
Hi,

When creating a new folder in the sidebar file browser, and changing the name and pressing return to assign the new folder name, also a return is placed in the document itself! This is not mentioned to be done!

see movie:
https://dl.dropboxusercontent.com/u/704499/Divers/tm_folder_issue.mov

OSX 10.11.4
TM 2.0-beta.9

I cannot reproduce the issue every time :(  So I cannot point to the action what triggers the issue.

regards,
feek
Reply | Threaded
Open this post in threaded view
|

Re: Issue: New folder in sidebar also creates a return in file

feek
Hi,

after some testing, it seems to be related to the MultiMarkdown bundle:
https://github.com/fletcher/markdown.tmbundle

and the meta header scope. So when your cursor is in the meta header and you create the folder, a return is added in the document. Related to the indentation?

Reply | Threaded
Open this post in threaded view
|

Re: Issue: New folder in sidebar also creates a return in file

Ronald Wampler
On Thu, Mar 24, 2016 at 4:59 AM, feek <[hidden email]> wrote:
> Hi,
>
> after some testing, it seems to be related to the MultiMarkdown bundle:
> https://github.com/fletcher/markdown.tmbundle
>
> and the meta header scope. So when your cursor is in the meta header and you
> create the folder, a return is added in the document. Related to the
> indentation?
>
The action "Metadata - New Line" (which is scoped to meta.header.multimarkdown)
has the key equivalent set to the return key. So if you press return even
without having focus in the text view, while in this scope, the bundle action
will add a return. It appears other actions in that bundle, also, has the key
equivalents set to the return key. If you want to avoid this issue you will
need to change them to something else—one option would be ⌅ (fn + return).

>
>
>
>
> --
> View this message in context: http://textmate.1073791.n5.nabble.com/Issue-New-folder-in-sidebar-also-creates-a-return-in-file-tp29851p29852.html
> Sent from the textmate users mailing list archive at Nabble.com.
>
> _______________________________________________
> textmate mailing list
> [hidden email]
> http://lists.macromates.com/listinfo/textmate

_______________________________________________
textmate mailing list
[hidden email]
http://lists.macromates.com/listinfo/textmate
Reply | Threaded
Open this post in threaded view
|

Re: Issue: New folder in sidebar also creates a return in file

feek
Hi Ronald,

Really thx, that's the solution!

regards,
Feek
Reply | Threaded
Open this post in threaded view
|

Re: Issue: New folder in sidebar also creates a return in file

Allan Odgaard-4
In reply to this post by feek
On 24 Mar 2016, at 9:59, feek wrote:

> after some testing, it seems to be related to the MultiMarkdown
> bundle:
> https://github.com/fletcher/markdown.tmbundle
>
> and the meta header scope. So when your cursor is in the meta header
> and you
> create the folder, a return is added in the document. Related to the
> indentation?

This has been addressed in beta 11.4:
https://github.com/textmate/textmate/commit/94036f28aa31713cf57b52dfad1eecb26e253764

_______________________________________________
textmate mailing list
[hidden email]
http://lists.macromates.com/listinfo/textmate
Reply | Threaded
Open this post in threaded view
|

Re: Issue: New folder in sidebar also creates a return in file

feek
Thnx Allan!

regards,
Feek
Reply | Threaded
Open this post in threaded view
|

Re: Issue: New folder in sidebar also creates a return in file

feek
Allan,

Am I right this release is not the master branch release but the 10_7 branch?
 
https://github.com/textmate/textmate/commits/10_7

regards,
Feek
Reply | Threaded
Open this post in threaded view
|

Re: Issue: New folder in sidebar also creates a return in file

Allan Odgaard-4

On 6 Jul 2016, at 14:51, feek wrote:

Am I right this release is not the master branch release but the 10_7
branch?

It is in master, if you look at the lower left of the commit you can see both the branch and latest release which contains the commit.



_______________________________________________
textmate mailing list
[hidden email]
http://lists.macromates.com/listinfo/textmate
Reply | Threaded
Open this post in threaded view
|

Re: Issue: New folder in sidebar also creates a return in file

feek
Sorry I meant the total master release on github:

the release notes on the master version:
https://github.com/textmate/textmate/blob/master/Applications/TextMate/about/Changes.md

are not the same as on the latest build v2.0-beta.11.4:
https://github.com/textmate/textmate/blob/4843ca3e1adca09ba85164964d70e3727e1e8a2a/Applications/TextMate/about/Changes.md
Reply | Threaded
Open this post in threaded view
|

Re: Issue: New folder in sidebar also creates a return in file

Allan Odgaard-4
On 6 Jul 2016, at 16:00, feek wrote:

> Sorry I meant the total master release on github:
>
> the release notes on the master version:
> https://github.com/textmate/textmate/blob/master/Applications/TextMate/about/Changes.md
>
> are not the same as on the latest build v2.0-beta.11.4:
> https://github.com/textmate/textmate/blob/4843ca3e1adca09ba85164964d70e3727e1e8a2a/Applications/TextMate/about/Changes.md

That’s just because master on GitHub hasn’t been updated.

_______________________________________________
textmate mailing list
[hidden email]
http://lists.macromates.com/listinfo/textmate