Axel Dörfler
56a7c23d08
* StyledEditWindow::_LoadFile() now traverses symlinks when opening a file.
...
This fixes bug #593 .
* No longer opens an empty document for every non existing path - it now only
opens a new document if there is none yet.
* No longer open an empty document for non existing files - instead, it just
passes the ref to StyledEditApp::OpenDocument(). StyledEditWindow::_LoadFile()
now treats those files gently as well, so that you can create new documents
via StyledEdit as on BeOS without getting annoyed too much.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-02 15:20:18 +00:00
Axel Dörfler
31139022cd
* Fixed some minor bugs and oddities, improved error messages.
...
* Big-time cleanup, added license.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16696 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-11 00:13:18 +00:00
shatty
9a9f64e114
use BFilePanel::SetSaveText which selects the filename
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7140 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-02 02:08:34 +00:00
shatty
6f9a2da340
DarkWyrm feature request: keyboard short for Save As... command-shift-s
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6309 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-26 00:24:10 +00:00
DarkWyrm
6e6e1d6443
With shatty's permission, added a patch to allow for opening a file by dropping it on the main window
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5488 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-27 12:34:38 +00:00
shatty
b15516030c
remove unused variables
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-02 05:18:18 +00:00
shatty
d727a85b3b
null settings reveal improper ownership bugs which are now fixed, no more luck needed, fixed a missing delete in destructor
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-10 10:33:36 +00:00
shatty
c7e570eb7f
SetSettings turns over ownership to the BMessage so we null out our field to ensure we do not accidently use it later
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-10 10:00:16 +00:00
shatty
4fd5206630
strange sanity check required
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4248 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-09 05:19:34 +00:00
shatty
aa9dc9ead8
disabled find next and replace same when no text has been found or replaced yet, enabled them when that occurs. also fixed replace all so it does not dirty the window if it fails to replace anything.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4247 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-09 04:52:41 +00:00
shatty
bed4e0fbf1
fixed the save as case as well
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-08 05:36:15 +00:00
shatty
82928e6a50
fixed close click save does not save bug
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4241 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-08 05:05:10 +00:00
shatty
65035166ae
improve feedback and add shortcuts for alerts
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4177 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-01 01:09:50 +00:00
shatty
12dc86bf35
fix typo in checkin
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 19:09:59 +00:00
shatty
e4f90625cc
fixed the "find does not work" bug on newly opened files by setting the cursor to the start of the file on opening
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4168 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 19:09:11 +00:00
shatty
cf629a4037
at least tell the user that saving failed, if writing the file did, all the other returns should notify as well but I am tired and it is time to sleep :-P
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4167 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 09:41:29 +00:00
shatty
31cd62fb1e
more and more error checks and helpful dialogs explaining what is happening when things go bad
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-31 09:33:33 +00:00
shatty
af78ee4866
added 11 font size at Konrads request
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-27 22:53:39 +00:00
shatty
e59c7b66ea
fixed annoying print before page setup aborts print bug
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-27 07:36:49 +00:00
shatty
27f0ec2d65
print selected pages working better now
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-27 07:25:47 +00:00
shatty
a8c26b3b30
pixel perfect printing?
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-27 07:02:44 +00:00
shatty
a50cf5ac37
perfect print #1
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-27 06:24:05 +00:00
shatty
46555d8f43
changed to use new BCharacterSet and BCharacterSetRoster from support kit. because libtextencoding.so is not finished yet it uses those sources directly instead of the library.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-26 22:56:30 +00:00
shatty
62df02c3e6
set changes monitoring on return by error
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3984 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-15 09:16:04 +00:00
shatty
670567f9d4
moved encoding handling into StyledEditView and began reading the be:encoding attribute
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3866 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-06 04:05:22 +00:00
shatty
a1a685089b
working save as encoding
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3863 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-05 21:29:23 +00:00
shatty
0b2e176dc0
second encodings menu up for save as with field
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3853 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-05 01:17:02 +00:00
shatty
e6903129a7
first start encodings menu up for save as
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3852 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-07-05 00:51:07 +00:00
shatty
9e159bcf9a
update the alignment menu based on the current alignment of the text view
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2175 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-07 19:50:33 +00:00
shatty
c4df8d57df
fixed erroneous deleting of print settings BMessage and changed fMenuBar to fFontMenu to fix crashing in font settings
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2172 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-06 23:46:19 +00:00
shatty
d470934c95
fixed changing color reset font bug and made the menus update for font and family and font size
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2064 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-22 09:32:34 +00:00
shatty
8776558763
update font menu for color based on selection or cursor location
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-22 09:04:25 +00:00
shatty
8f63353baf
lots of font related changes to reduce memory consumption and speed up initialization. also fixes for word wrapping screen width.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2062 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-22 07:52:00 +00:00
shatty
0b46ec9848
improved soft wrapping, now saves alignment and wrapping states
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-22 05:53:58 +00:00
shatty
6cd1da58ba
set the default save as directory appropriately
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2044 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-20 23:43:33 +00:00
shatty
e2344ee25b
fix command line execution - thanks BGA
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2043 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-20 23:29:00 +00:00
shatty
5f5bb7d7eb
disable undo after font actions
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1869 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-07 12:13:09 +00:00
shatty
80f5cbb0a5
I think replace all is fixed now?
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1868 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-07 12:03:23 +00:00
shatty
7c7e9acdad
replace all still has problems but I am sleepy...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1867 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-07 11:50:48 +00:00
shatty
a49482266a
font operations now make the document unclean. they can't be undone, but R5 doesn't let you undo them either.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1865 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-07 00:08:05 +00:00
shatty
844ea151d0
added encodings menu for save and open file panel (not functional yet)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1864 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-06 23:03:34 +00:00
shatty
a445cd428f
recent menu works. save as puts current name into text field. revert bug fixed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1860 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-06 21:40:47 +00:00
shatty
f47986217a
revert to saved confirmation dialog added
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1859 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-06 18:54:47 +00:00
shatty
4737827244
pixel tweaks
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1857 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-05 18:28:19 +00:00
shatty
ed48868f63
style cleanup ; undo, revert, redo, save, quit functions fixed up ; no more extra windows ; quit when all windows are closed ; fix grey lines when scrolling
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1848 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-05 09:24:25 +00:00
shatty
10beef3e41
made open into a submenu, changed case of Save As
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1837 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-04 10:22:25 +00:00
shatty
15db9de07f
patches from Mattias Sundblad
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1836 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-04 04:38:29 +00:00
shatty
3e81831b69
Fixed newline at end of files.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-27 04:47:23 +00:00
Phil Greenway
f7afd44bda
Initial Check in. Coded by Mattias Sundblad.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1135 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-23 23:01:55 +00:00