[gnome-builder/wip/commands] editor: add future TODO
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/commands] editor: add future TODO
- Date: Tue, 7 Oct 2014 21:46:01 +0000 (UTC)
commit c98672e6c4a083a1d863b24019f8ded32c178e00
Author: Christian Hergert <christian hergert me>
Date: Tue Oct 7 14:41:25 2014 -0700
editor: add future TODO
src/editor/gb-editor-commands.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/editor/gb-editor-commands.c b/src/editor/gb-editor-commands.c
index e07163f..8a97011 100644
--- a/src/editor/gb-editor-commands.c
+++ b/src/editor/gb-editor-commands.c
@@ -383,6 +383,10 @@ on_load_cb (GtkSourceFileLoader *loader,
g_clear_error (&error);
}
+ /*
+ * TODO: It would be nice to track the last cursor position in the file
+ * and scroll to that position upon re-opening the file.
+ */
buffer = GTK_TEXT_BUFFER (tab->priv->document);
gtk_text_buffer_get_bounds (buffer, &begin, &end);
gtk_text_buffer_select_range (buffer, &begin, &begin);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]