mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-04-29 18:42:34 +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
|
||||
elif type(outlineItem) is OutlineFolder:
|
||||
self.editorItems = outlineItem.items
|
||||
elif type(outlineItem) is OutlineText:
|
||||
self.__appendOutlineItemText(outlineItem)
|
||||
|
||||
if outlineItem is None:
|
||||
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>
|
||||
</object>
|
||||
</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">
|
||||
<object class="GtkTextTag" id="h2_tag">
|
||||
<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">
|
||||
<property name="name">p</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="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>
|
||||
</child>
|
||||
</object>
|
||||
|
@ -397,6 +401,11 @@ along with Manuskript. If not, see <http://www.gnu.org/licenses/>.
|
|||
<property name="visible">True</property>
|
||||
<property name="can-focus">True</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="input-hints">GTK_INPUT_HINT_SPELLCHECK | GTK_INPUT_HINT_WORD_COMPLETION | GTK_INPUT_HINT_NONE</property>
|
||||
</object>
|
||||
|
|
Loading…
Reference in a new issue