-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
102 lines (77 loc) · 4.48 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
General Information
===================
Glasscat is a spatial text editor for the GNOME desktop.
It is based on gtksourceview, which provides most essential features for
source code editing. On top of this Glasscat offers a lightweight, intuitive
and forward-thinking user interface as well as additional editing features to
make your life easier.
Philosophy
==========
Glasscat strongly follows the "just works" philosophy and tries to
smoothly integerate into the desktop environment. It has been created
mainly out of dissatisfaction with existing GUI text editors and their
inability to scale. Some text editors are simple to use, but lack the
required features to work efficiently on larger projects. Other editors
are incredibly bloated and a pain to use if all you want is to make a quick
change to a README file. But the majority of the editors simply offers a bad
compromise between both worlds, being limited in their capabilities while still
sporting a rather clumsy interface.
Glasscat intends to avoid any compromise and prove that a capable text editor
does not require a bloated user interface. To reach this goal, Glasscat breaks
with many traditions, including file chooser dialogs and explicit saving.
Whenever possible, it tries to find solutions that do the right thing in
every situation by requiring the least amount of user intervention.
Glasscat is not particularly customisable, which means that it won't ever
offer a plethora of options which serve no purpose but to satisfy individual
taste or habits. Hopefully you will find that getting used to the way Glasscat
works is well worth the effort. If you are not willing to do so, then
Glasscat is just not for you.
Documents vs. Projects
======================
To achieve the goal of scalability, Glasscat separates between documents
and projects. Every document and every project is treated as a unique spatial
object.
The document interface is used whenever you open a document from your
file manager (or by passing it as a command line argument) and is ideal to
make quick changes, read text documents or work on smaller projects. All
document state is persistent, so you can close and re-open a document at any
time without losing state. The document interface offers all of Glasscat's
text editing capabilities from an interface that is not any more complex than
Notepad.
The project interface (not yet completed) differs from the document interface
mainly by focusing on quick access to documents related to a project. New
sources can easily be added to the file tree on the left of the window.
Because all document state is persistent and there can be no "unsaved" changes,
there is no need to keep a separate list of "open" documents (popularly
implemented as notebook tabs). Glasscat still uses MDI internally to
provide instant access to the last recently accessed documents. These documents
are also exposed on the interface and can be quickly selected with shortcuts,
thus combining the ease of use of an SDI interface with all the advantages
of an MDI interface.
Features
========
I am not going to give you a comprehensive list of Glasscat's features, since
they are likely to change and Glasscat is really more focused on the whole
user experience than individual technical details. Instead, I will use this
place to list all the little things that may not be completely obvious.
* If you activate the Cut or Copy command without a selection, it will act on
the entire line (same as the Block Cut/Copy commands). This makes it quick
and easy to delete or re-locate lines.
* The type-ahead search becomes case-sensitive as soon as you type a non
lower-case letter.
* In Go-to-line mode, you can use the up and down arrow keys to move up or
down in steps of ten. Hold shift to move in steps of 100.
* Word-wrap defaults to on for plain text files and off for everything else.
Once you change the wrap mode, it will be permantly stored for the document.
* To replace text, first add some tags (for example by pressing <shift><ctrl>F
to tag all matches of the last search) and then press <ctrl>R to enter the
text you want to replace with. You can add and remove as many tags as you want
before you replace and you can replace them as often as you want.
Use <shift><ctrl>T without a selection to clear all tags in a document.
Contact
=======
The official homepage is located at:
http://www.glasscat.org
If you have any comments or suggestions or are interested in contributing,
please join the mailinglist:
http://groups.google.com/group/glasscat