mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 20:00:48 +00:00
Don't draw spelling underlines when printing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32567 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e3682ec0be
commit
7d4aa82c88
2 changed files with 36 additions and 28 deletions
|
@ -1,3 +1,8 @@
|
|||
2011-03-14 Eric Wasylishen <ewasylishen@gmail.com>
|
||||
|
||||
* Source/NSLayoutManager.m: Don't draw spelling underlines
|
||||
when printing
|
||||
|
||||
2011-03-14 Eric Wasylishen <ewasylishen@gmail.com>
|
||||
|
||||
* Source/NSTextView.m: Attempt to add pagination support
|
||||
|
|
|
@ -1732,6 +1732,8 @@ for (i = 0; i < gbuf_len; i++) printf(" %3i : %04x\n", i, gbuf[i]); */
|
|||
|
||||
// Draw spelling state (i.e. red underline for misspelled words)
|
||||
|
||||
if ([NSGraphicsContext currentContextDrawingToScreen])
|
||||
{
|
||||
for (i=characterRange.location; i<NSMaxRange(characterRange); )
|
||||
{
|
||||
NSRange underlinedCharacterRange;
|
||||
|
@ -1766,6 +1768,7 @@ for (i = 0; i < gbuf_len; i++) printf(" %3i : %04x\n", i, gbuf[i]); */
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
-(void) underlineGylphRange: (NSRange)range
|
||||
underlineType: (NSInteger)type
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue