PageRenderTime 40ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/editor/Disp.cs

http://github.com/toshok/shelisp
C# | 73 lines | 53 code | 18 blank | 2 comment | 0 complexity | 53f00a2a81d830b776de35776280e53b MD5 | raw file
Possible License(s): GPL-3.0
  1. using Shelisp;
  2. namespace Shemacs.Editor {
  3. public class Disp {
  4. [LispBuiltin]
  5. public static int baud_rate = 9600; // XXX
  6. [LispBuiltin]
  7. public static bool inverse_video = false; // XXX
  8. [LispBuiltin]
  9. public static bool visible_bell = false; // XXX
  10. [LispBuiltin]
  11. public static bool no_redraw_on_reenter = false; // XXX
  12. [LispBuiltin (DocString = @"*Maximum height for resizing mini-windows (the minibuffer and the echo area).
  13. If a float, it specifies a fraction of the mini-window frame's height.
  14. If an integer, it specifies a number of lines.")]
  15. public static float max_mini_window_height = 0.25f;
  16. [LispBuiltin (DocString = @"*Non-nil means mouse commands use dialog boxes to ask questions.
  17. This applies to `y-or-n-p' and `yes-or-no-p' questions asked by commands
  18. invoked by mouse clicks and mouse menu items.
  19. On some platforms, file selection dialogs are also enabled if this is
  20. non-nil.")]
  21. public static bool use_dialog_box = true;
  22. [LispBuiltin (DocString = @"*Non-nil means mouse commands use a file dialog to ask for files.
  23. This applies to commands from menus and tool bar buttons even when
  24. they are initiated from the keyboard. If `use-dialog-box' is nil,
  25. that disables the use of a file dialog, regardless of the value of
  26. this variable.")]
  27. public static bool use_file_dialog = true;
  28. [LispBuiltin (DocString = @"Name of the window system that Emacs uses for the first frame.
  29. The value is a symbol:
  30. nil for a termcap frame (a character-only terminal),
  31. 'x' for an Emacs frame that is really an X window,
  32. 'w32' for an Emacs frame that is a window on MS-Windows display,
  33. 'ns' for an Emacs frame on a GNUstep or Macintosh Cocoa display,
  34. 'pc' for a direct-write MS-DOS frame.
  35. Use of this variable as a boolean is deprecated. Instead,
  36. use `display-graphic-p' or any of the other `display-*-p'
  37. predicates which report frame's specific UI-related capabilities.")]
  38. public static Shelisp.Object Vinitial_window_system = L.Qnil;
  39. [LispBuiltin (DocString = @"The version number of the window system in use.
  40. For X windows, this is 11.")]
  41. public static Shelisp.Object Vwindow_system_version = L.Qnil;
  42. // this comes from xdisp.c
  43. [LispBuiltin (DocString = @"List of variables (symbols) which hold markers for overlay arrows.
  44. The symbols on this list are examined during redisplay to determine
  45. where to display overlay arrows.")]
  46. public static Shelisp.Object Voverlay_arrow_variable_list = new List (L.intern ("overlay-arrow-position"), L.Qnil);
  47. // this comes from xdisp.c
  48. [LispBuiltin (DocString = @"Marker for where to display an arrow on top of the buffer text.
  49. This must be the beginning of a line in order to work.
  50. See also `overlay-arrow-string'.")]
  51. public static Shelisp.Object Voverlay_arrow_position = L.Qnil;
  52. }
  53. }