- 'note_open_on_startup' => (int) $note->{'open-on-startup'},
- 'note_pinned' => (int) $note->pinned,
- 'note_tags' => json_encode($note->tags),
+ 'note_open_on_startup' => (int) $note->{'open-on-startup'},
+ 'note_pinned' => (int) $note->pinned,
+ 'note_tags' => json_encode($note->tags),
+
+ 'note_x' => (int) $note->{'x'},
+ 'note_y' => (int) $note->{'y'},
+ 'note_height' => (int) $note->{'height'},
+ 'note_width' => (int) $note->{'width'},
+
+ 'note_selection_bound_position' => (int) $note->{'selection-bound-position'},
+ 'note_cursor_position' => (int) $note->{'cursor-position'},