mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-16 10:52:29 +12:00
Fix editor view texts
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
This commit is contained in:
parent
d5a0b56387
commit
3d469e671e
|
@ -270,8 +270,6 @@ class EditorView:
|
||||||
self.editorItems = self.project.outline.items
|
self.editorItems = self.project.outline.items
|
||||||
elif type(outlineItem) is OutlineFolder:
|
elif type(outlineItem) is OutlineFolder:
|
||||||
self.editorItems = outlineItem.items
|
self.editorItems = outlineItem.items
|
||||||
elif type(outlineItem) is OutlineText:
|
|
||||||
self.__appendOutlineItemText(outlineItem)
|
|
||||||
|
|
||||||
if outlineItem is None:
|
if outlineItem is None:
|
||||||
for item in self.editorItems:
|
for item in self.editorItems:
|
||||||
|
|
|
@ -65,16 +65,6 @@ along with Manuskript. If not, see <http://www.gnu.org/licenses/>.
|
||||||
<property name="editable">False</property>
|
<property name="editable">False</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<child type="tag">
|
|
||||||
<object class="GtkTextTag">
|
|
||||||
<property name="font">Normal</property>
|
|
||||||
</object>
|
|
||||||
</child>
|
|
||||||
<child type="tag">
|
|
||||||
<object class="GtkTextTag">
|
|
||||||
<property name="font">Normal</property>
|
|
||||||
</object>
|
|
||||||
</child>
|
|
||||||
<child type="tag">
|
<child type="tag">
|
||||||
<object class="GtkTextTag" id="h2_tag">
|
<object class="GtkTextTag" id="h2_tag">
|
||||||
<property name="name">h2</property>
|
<property name="name">h2</property>
|
||||||
|
@ -173,7 +163,21 @@ along with Manuskript. If not, see <http://www.gnu.org/licenses/>.
|
||||||
<object class="GtkTextTag" id="p_tag">
|
<object class="GtkTextTag" id="p_tag">
|
||||||
<property name="name">p</property>
|
<property name="name">p</property>
|
||||||
<property name="font">Normal</property>
|
<property name="font">Normal</property>
|
||||||
|
<property name="pixels-above-lines">4</property>
|
||||||
|
<property name="pixels-below-lines">4</property>
|
||||||
|
<property name="left-margin">8</property>
|
||||||
<property name="indent">20</property>
|
<property name="indent">20</property>
|
||||||
|
<property name="right-margin">8</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child type="tag">
|
||||||
|
<object class="GtkTextTag" id="line_tag">
|
||||||
|
<property name="name">line</property>
|
||||||
|
<property name="font">Normal</property>
|
||||||
|
<property name="editable">False</property>
|
||||||
|
<property name="left-margin">4</property>
|
||||||
|
<property name="strikethrough">True</property>
|
||||||
|
<property name="right-margin">4</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
|
@ -397,6 +401,11 @@ along with Manuskript. If not, see <http://www.gnu.org/licenses/>.
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can-focus">True</property>
|
<property name="can-focus">True</property>
|
||||||
<property name="wrap-mode">word-char</property>
|
<property name="wrap-mode">word-char</property>
|
||||||
|
<property name="left-margin">8</property>
|
||||||
|
<property name="right-margin">8</property>
|
||||||
|
<property name="top-margin">4</property>
|
||||||
|
<property name="bottom-margin">4</property>
|
||||||
|
<property name="indent">4</property>
|
||||||
<property name="buffer">editor_text</property>
|
<property name="buffer">editor_text</property>
|
||||||
<property name="input-hints">GTK_INPUT_HINT_SPELLCHECK | GTK_INPUT_HINT_WORD_COMPLETION | GTK_INPUT_HINT_NONE</property>
|
<property name="input-hints">GTK_INPUT_HINT_SPELLCHECK | GTK_INPUT_HINT_WORD_COMPLETION | GTK_INPUT_HINT_NONE</property>
|
||||||
</object>
|
</object>
|
||||||
|
|
Loading…
Reference in a new issue