git @ Cat's Eye Technologies tideay / 2d59e31
Notebook tabs smaller, fixed size, only show file's basename. catseye 12 years ago
2 changed file(s) with 19 addition(s) and 13 deletion(s). Raw diff Collapse all Expand all
4343 -------
4444
4545 * Smaller font.
46 * Notebook's tab pane (on the left) has a fixed with. Long filenames will
47 not expand it and ruin the 80-column width of the editor pane.
48 * Height of each label in the tab pane is smaller.
49 * Only the basename (not the directory name) of the file is displayed in
50 the label.
4651 * Assumes any file with `python` in its first line is Python (this is a
4752 bit of a hack, and hashbang-sniffing will improve in the future.)
4853 * No tooltips (they don't show up on hover for me anyway.) Controls are
6166
6267 ### viewing ###
6368
64 * Left pane should have a fixed width if possible.
65 * If possible, indicate the 80-column mark in the editing pane.
66 (If not possible, just default the pane to that size.)
67
68 In case you're wondering:
69 12345678901234567890123456789012345678901234567890123456789012345678901234567890
70
7169 * Show column position of cursor.
7270 * Left pane seems to want to be able to scroll when many files open,
7371 but does it? Is this a bug? Ensuring the controls are visible,
74 while only the buffer tabs scroll, would be nice. Shorter (less
75 height) buffer tabs might be nice.
72 while only the buffer tabs scroll, would be nice.
7673 * Better source language detection via sniffing the hashbang line.
77 * Possibly force source language highlighting.
7874 * Visible whitespace (space, tab, LF) would be *really* nice.
7975
8076 ### editing ###
8177
8278 * Typing `{<enter>` or `:<enter>` should indent the next line four spaces.
79
80 ### find and replace ###
81
8382 * Find should support case-sensitive and maybe whole-world-only search.
8483 * Replace found text with new text.
8584 * Ctrl+F find should populate find-entry with selected text.
8685 * Mark and move to mark (like Ctrl+F2/F2 in SciTE)
86 * Next and Prev should have keyboard shortcuts.
8787
8888 ### buffers ###
8989
9090 * Should not be possible to open 2 copies of the same file.
91 * Show full path to file (in window title? in buffer tab tooltip?)
91 * Show full path to file in window title.
9292 * Should be able to populate buffers from all "interesting" files in the
9393 current directory tree. (repository <=> workspace)
9494 * Some nice way to move/copy a buffer while inside the editor.
106106 of tideay... trying to should just open the tab in the currently-
107107 running tideay.
108108
109 ### low priority ###
110
111 * Indicate the 80-column mark in the editing pane.
112 * Some way to force source language highlighting.
113
109114 [pfh]: http://www.logarithmic.net/pfh/
110115 [yaedit]: http://www.logarithmic.net/pfh/yaedit
111116 [SciTE]: http://www.scintilla.org/SciTE.html
400400 #self.notebook.append_page(toolbox, label)
401401
402402 self.window = gtk.Window()
403 self.window.resize(900, 700)
403 self.window.resize(825, 740) # 820x745 with a little padding
404404 self.window.set_title('tideay')
405405 self.window.add(self.notebook)
406406
750750 editor.view.connect('focus-out-event', self.unfocus)
751751
752752 hbox = gtk.HBox()
753 label = gtk.Label(filename)
753 label = gtk.Label(os.path.basename(filename))
754754 hbox.pack_start(label, False, False)
755755
756756 def close(widget):
762762 closer.child.modify_font(pango.FontDescription('7'))
763763 closer.connect('clicked', close)
764764 hbox.pack_end(closer, False, False)
765 hbox.set_usize(120, 15)
765766
766767 hbox.show_all()
767768 scrolly.show_all()