Tk Source Code

Check-in [034b594c]
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix merging from trunk: Remove unused macro FORCE_DISPLAY
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | revised_text | tip-466
Files: files | file ages | folders
SHA3-256: 034b594cc944b78b511c5aa8ed9168b0e7015f2e424bb82e93fead974e6d0f76
User & Date: fvogel 2018-11-15 20:57:43
Context
2018-12-02
08:53
merge trunk check-in: 449efca9 user: fvogel tags: revised_text, tip-466
2018-11-15
20:57
Fix merging from trunk: Remove unused macro FORCE_DISPLAY check-in: 034b594c user: fvogel tags: revised_text, tip-466
20:01
Fix merging from trunk: Make logging arrangements for macOS10.14 available in revised_text branch check-in: b1cb77b6 user: fvogel tags: revised_text, tip-466
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to generic/tkTextDisp.c.

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
#elif defined(__CYGWIN__)
# include "tkUnixInt.h"
#endif

#ifdef MAC_OSX_TK
# include "tkMacOSXInt.h"
# define OK_TO_LOG (!TkpAppIsDrawing())
# define FORCE_DISPLAY(winPtr) TkpDisplayWindow(winPtr)
/* Version 8.5 has forgotten to define this constant. */
# ifndef TK_DO_NOT_DRAW
#  define TK_DO_NOT_DRAW 0x80
# endif
# ifndef DEF_TEXT_INACTIVE_SELECT_COLOR_DISABLED
#  define DEF_TEXT_INACTIVE_SELECT_COLOR_DISABLED "1"
# endif
#else /* for portability to 8.5/6 */
# define OK_TO_LOG 1
# define FORCE_DISPLAY(winPtr)
# ifndef DEF_TEXT_INACTIVE_SELECT_COLOR_DISABLED
#  define DEF_TEXT_INACTIVE_SELECT_COLOR_DISABLED "0"
# endif
#endif

#include <stdlib.h>
#include <assert.h>






<









<







30
31
32
33
34
35
36

37
38
39
40
41
42
43
44
45

46
47
48
49
50
51
52
#elif defined(__CYGWIN__)
# include "tkUnixInt.h"
#endif

#ifdef MAC_OSX_TK
# include "tkMacOSXInt.h"
# define OK_TO_LOG (!TkpAppIsDrawing())

/* Version 8.5 has forgotten to define this constant. */
# ifndef TK_DO_NOT_DRAW
#  define TK_DO_NOT_DRAW 0x80
# endif
# ifndef DEF_TEXT_INACTIVE_SELECT_COLOR_DISABLED
#  define DEF_TEXT_INACTIVE_SELECT_COLOR_DISABLED "1"
# endif
#else /* for portability to 8.5/6 */
# define OK_TO_LOG 1

# ifndef DEF_TEXT_INACTIVE_SELECT_COLOR_DISABLED
#  define DEF_TEXT_INACTIVE_SELECT_COLOR_DISABLED "0"
# endif
#endif

#include <stdlib.h>
#include <assert.h>