mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
Add handling of NSAttachmentCharacter.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15830 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8d06767b77
commit
f26c829614
2 changed files with 14 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-01-31 23:20 Alexander Malmberg <alexander@malmberg.org>
|
||||
|
||||
* Source/GSLayoutManager.m (-_generateGlyphsForRun:at:): Add
|
||||
handling of NSAttachmentCharacter.
|
||||
|
||||
2003-01-31 21:59 Alexander Malmberg <alexander@malmberg.org>
|
||||
|
||||
* Headers/gnustep/gui/GSLayoutManager.h,
|
||||
|
|
|
@ -24,15 +24,18 @@
|
|||
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#include "AppKit/GSLayoutManager_internal.h"
|
||||
#include <AppKit/GSLayoutManager_internal.h>
|
||||
|
||||
#include <Foundation/NSCharacterSet.h>
|
||||
#include <Foundation/NSException.h>
|
||||
#include <Foundation/NSValue.h>
|
||||
|
||||
#include "AppKit/GSTypesetter.h"
|
||||
#include "AppKit/NSTextStorage.h"
|
||||
#include "AppKit/NSTextContainer.h"
|
||||
#include <AppKit/GSTypesetter.h>
|
||||
#include <AppKit/NSTextStorage.h>
|
||||
#include <AppKit/NSTextContainer.h>
|
||||
|
||||
/* just for NSAttachmentCharacter */
|
||||
#include <AppKit/NSTextAttachment.h>
|
||||
|
||||
|
||||
|
||||
|
@ -2248,6 +2251,8 @@ for the backends to use it */
|
|||
g->char_offset = i;
|
||||
if (characterIsMember(cs, @selector(characterIsMember:), ch))
|
||||
g->g = NSControlGlyph;
|
||||
else if (ch == NSAttachmentCharacter)
|
||||
g->g = GSAttachmentGlyph;
|
||||
else
|
||||
g->g = ch;
|
||||
g++;
|
||||
|
|
Loading…
Reference in a new issue