Paragraph split upon indentation not reflected in GUI
Version: Zim 0.46, pyzim-trunk, revno 249
Running on Linux, gtk 2.20.1, pygtk 2.17.0
When part of an already indented paragraph is further indented by pressing tab, that part is split from the original paragraph to form a new paragraph with different indentation. The problem is, that this becomes visible to the user only after a reload of the page. The splitting of paragraphs inserts empty lines which are not shown immediately after the user interaction.
Take the following file (header cut, note the indentation):
Now if the user puts the cursor in front of the "bar" line and presses tab, the immediate result would suggest this:
What really happens is this:
But that only becomes visible after a reload of the page.
My suggestion is one of the two following solutions:
1) Immediately show the empty lines so that the user sees that the paragraph got split.
2) Or do not split the paragraph in the saved file and modify the parser to accept different indent levels within paragraphs
|Sam Snow (snood-deactivatedaccount) wrote : Re: [Bug 586296] [NEW] Paragraph split upon indentation not reflected in GUI||#1|
|Changed in zim:|
|status:||New → Confirmed|
|importance:||Undecided → High|
|Jaap Karssenberg (jaap.karssenberg) wrote : Re: [Bug 586296] Re: Paragraph split upon indentation not reflected in GUI||#9|
|nomnex (nomnex) wrote : Re: [Bug 586296] Re: Paragraph split upon indentation not reflected in GUI||#10|