Zim

Multi-line sub/superscript formatting does not apply to each line separately

Bug #1270414 reported by BottleNick
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zim
Confirmed
Undecided
Unassigned

Bug Description

When applying sub- or superscript with multiple lines selected, the starting and ending of the corresponding wiki syntax ("_{..}", or "^{..}) is only applied to the first and last line--and not to each line separately. This behavior works well for bold, italics, underline, and strikethrough formatting). The consequence: The wiki syntax characters are visible again after reloading the note (or on an other synced machine).
Btw: can you assign the *subscript* formatting a short-cut? Subscripting is a great way to save space in a note since it shrinks the line height.

Another related bug: I just found out that multiline-verbatim also behaves strangely: it places the syntax characters BEFORE the first and the AFTER the last line.

I'm running version 0.60 on windows and linux.

Thanks for this great note taking software--and thanks for fixing.

Cheers,
BN

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote : Re: [Bug 1270414] [NEW] Multi-line sub/superscript formatting does not apply to each line separately

Just out of curiosity - why would you ever use multi-line sub-script or
super-script ???

The verbatim multi-line format is as intended - see the manual for the wiki
syntax description.

On Sat, Jan 18, 2014 at 12:58 PM, BottleNick <email address hidden> wrote:

> Public bug reported:
>
> When applying sub- or superscript with multiple lines selected, the
> starting and ending of the corresponding wiki syntax ("_{..}", or "^{..})
> is only applied to the first and last line--and not to each line
> separately. This behavior works well for bold, italics, underline, and
> strikethrough formatting). The consequence: The wiki syntax characters are
> visible again after reloading the note (or on an other synced machine).
> Btw: can you assign the *subscript* formatting a short-cut? Subscripting
> is a great way to save space in a note since it shrinks the line height.
>
> Another related bug: I just found out that multiline-verbatim also
> behaves strangely: it places the syntax characters BEFORE the first and
> the AFTER the last line.
>
> I'm running version 0.60 on windows and linux.
>
> Thanks for this great note taking software--and thanks for fixing.
>
>
> Cheers,
> BN
>
> ** Affects: zim
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to Zim.
> https://bugs.launchpad.net/bugs/1270414
>
> Title:
> Multi-line sub/superscript formatting does not apply to each line
> separately
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/zim/+bug/1270414/+subscriptions
>

Revision history for this message
BottleNick (express-temp) wrote :

I understand your doubt, but as I said: "Subscripting is a great way to save space in a note since it shrinks the line height." It's the only way to change the font-size (i.e., to let a part of my notes "fade from the spotlight" ;-) ).

The current verbatim behaviour makes sense.

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Agree that this is a bug that should be fixed. But using it as a way to change font is definitely unsupported.

Changed in zim:
status: New → Confirmed
tags: added: 2min formatting
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.