John Levon
97ef9131ba
static_cast-based key/mouse-state. Kill insetKeyPress.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4210 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-26 17:33:14 +00:00
Lars Gullik Bjønnes
482c04ecca
use more specific smart_ptr headers
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4183 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-22 01:16:37 +00:00
Jürgen Vigna
ba79607927
Simplified code and don't enter inset on cursor down/up while we are selecting.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4013 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-17 08:34:59 +00:00
Jürgen Vigna
1eba5295d8
Losts of fixes to cursor handling with insets. Cursor up/down now can
...
transverse also inset if they are on it's way, Page up/down for InsetText
fixed (cleanly now as I finally understood the algorithm ;) This fixes some
non reported bugs, some in Michaels list, some reported on the mailing
list and #314 on our buglist.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4008 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-16 14:10:39 +00:00
Jürgen Vigna
ba21e6498c
Fix for wrong cursor.x pos when before a fullRow inset (added ix), small
...
perfomance fix in LyXText's raw drawing, fix for adding paragraph in insets
when not allowed to do so (bug in Michaels list not on lyxbugs.).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3990 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-12 15:59:03 +00:00
Jürgen Vigna
c9a31728e9
New function ciy() which handles cursor.iy() functions.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3972 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-11 15:08:22 +00:00
Jürgen Vigna
ddabf92e20
Fixed insert File inside tabulars/insettext (fix #301,#302).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3833 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-26 11:05:30 +00:00
Lars Gullik Bjønnes
a654de29ea
ws cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3802 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 17:09:55 +00:00
Jürgen Vigna
b15efeb111
Collapse the contents of multicolumn cells into one ( fix #121 ).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3796 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 15:58:54 +00:00
Lars Gullik Bjønnes
b9288969ec
remove lowercase, better layout handling and some variable renameing
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3648 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-03 20:25:07 +00:00
Jürgen Vigna
9443f625d8
Fix for #143 . Changed handling of Font stuff for ERTInsets so that the
...
latex fonts are not really set but only displayed on screen. So we fixed
the problem of cut&paste in and out of ERT insets retaining the latex color
and font.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3576 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-20 14:55:17 +00:00
Jürgen Vigna
65ec1c0437
Insert mouse_x/y positon to have a REAL motion check. Fixed the spurious
...
selection on clicking on insets inside insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3265 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-24 14:36:31 +00:00
Jürgen Vigna
5a1614bc51
Some fixes to lt handling (one forgotten reset) and collapse the paragraphs
...
into one single if we have autoBreakRows == false.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3238 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-18 12:35:53 +00:00
Lars Gullik Bjønnes
8ddb8f993b
small stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3231 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-18 03:21:10 +00:00
Jürgen Vigna
bc20177045
Fixed poping up of Layout-Dialogs on Mouse-Button-3 press.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3225 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-17 13:33:22 +00:00
Jürgen Vigna
7fdf62dd8e
John's InsetTabular cursor patch and modifications/fixes to undo/redo code.
...
TODO: Still some problems in multiparagraph redo! And deleting of substituted
paragraphs when undoing/redoing.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3209 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-14 11:55:58 +00:00
Jean-Marc Lasgouttes
ca3c70ec58
small cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3172 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-10 09:59:39 +00:00
Jürgen Vigna
8a3b0939d5
Fixed insetAllowd for InsetText and Pasting multiple paragraphs inside
...
Insets with particular restrictions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3151 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 15:34:41 +00:00
Jürgen Vigna
9d2abd4505
More fixes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3143 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-04 16:10:19 +00:00
Jürgen Vigna
c130d5dbfd
Hopefully fixed the redo problems with insets!
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3127 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-30 16:10:24 +00:00
André Pönitz
10f096880f
whitespace changes;
...
change *::pos_type into lyx::pos_type
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3087 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-27 10:34:16 +00:00
André Pönitz
cd6e293ed7
start reducing header file dependencies
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3080 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-26 16:42:04 +00:00
Jürgen Vigna
0677c7b0c9
Fixed center mousebutton-pastes into ERT insets.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2908 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-22 09:45:31 +00:00
Jürgen Vigna
b08d44b58f
Small fixes to various InsetText problems.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2903 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-19 15:40:01 +00:00
Angus Leeming
a2ef5d11b3
Renamed selectNextWord as selectNextWordToSpellcheck.
...
Modified selectNextWordToSpellcheck to not select words inside an ERT inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2785 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-21 16:21:23 +00:00
José Matox
2470d9297d
rename docBook method to docbook
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2681 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-04 11:02:09 +00:00
Dekel Tsur
0233b6753d
Paragraph iterators
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2649 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-01 21:26:34 +00:00
Jürgen Vigna
f5394fd982
Fixed possible crash when reinitializing LyXText!
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2496 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-13 11:04:49 +00:00
Jürgen Vigna
8466aa353b
Some more fixes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2482 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 12:21:42 +00:00
Jürgen Vigna
3c32875ece
Applied Edwins patch, fixes to free memory read in insettext, partial fix
...
for the width of collapsable insets (more to do).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2444 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-07 15:07:36 +00:00
Jürgen Vigna
26b1fa7be8
Various update/redraw fixes. Cleaned up InsetERT and added a dialog for
...
changing between statuses. Save the statuses to file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2425 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-06 14:55:02 +00:00
Jürgen Vigna
aae301e9cd
Update/cursor and drawing fixes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2405 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-02 14:55:06 +00:00
Jürgen Vigna
cc3955aa12
Fixes to various bug-reports.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2402 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-01 15:42:53 +00:00
Jürgen Vigna
a622bb6efa
Added inline functionallity to InsetERT. Fixed cache.clear() problem in
...
InsetText. Small fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2393 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-31 09:53:40 +00:00
Lars Gullik Bjønnes
e952d33e0b
insetfloat work + stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2388 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-30 11:56:00 +00:00
Lars Gullik Bjønnes
3ce727041d
simplificatons
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2329 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-24 22:08:49 +00:00
Jean-Marc Lasgouttes
cb8bb668e7
playing around with insets
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2315 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-24 10:13:19 +00:00
Jürgen Vigna
7c0dad35b3
Implemented Search/Replace functionality for Insets. Cleaned up a bit.
...
Small fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2296 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-20 14:18:48 +00:00
Jean-Marc Lasgouttes
b15e539c68
partial inset toggling ; insetAllowed stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2277 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-19 08:52:59 +00:00
Jürgen Vigna
2c5ab94d01
Implemented spellchecking inside insets. Small fixes. Baruchs fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2265 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-17 15:39:12 +00:00
Jürgen Vigna
487f6eb3b4
Added various inset functions for Jean-Marc (see Changelog). Small fix in
...
cua bind-file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2228 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-12 14:35:38 +00:00
Jürgen Vigna
8dc8a36370
This fixes a real bug in InsetText where it was possible to delete the
...
cached LyXText while we where working inside it (accessing of freed
memory!), small changes in the insetInsertAllowed functions to have
a better check where is what allowed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2225 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-12 12:26:06 +00:00
Jürgen Vigna
9d1ec63f05
Fixed crash when inserting mathed inset inside InsetERT + new devel banner.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2210 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-09 14:19:41 +00:00
Jürgen Vigna
7521b5d20f
The BIG UNDO patch. Recodes undo handling for better use inside InsetText.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2195 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-06 15:57:54 +00:00
Lars Gullik Bjønnes
f82d1cd90b
use shared_ptr for chache and cached_text
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2189 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-05 14:52:08 +00:00
Jürgen Vigna
6687595f9c
Introduce a local cache to the getLyXText method for repetitive calls.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2167 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-02 15:29:23 +00:00
Lars Gullik Bjønnes
8eada76ac0
remove TEXT
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2162 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-29 15:17:05 +00:00
Lars Gullik Bjønnes
85a5ea7bfc
change a lot of methods to begin with small char
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2150 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-28 10:25:20 +00:00
Lars Gullik Bjønnes
76ef051b1c
LyX Drinkers United: patch 2
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2144 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-27 14:10:35 +00:00
Lars Gullik Bjønnes
d1182f17da
LyX Drinkers Union: patch 1
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2141 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-25 00:06:33 +00:00