gi-gtksource-3.0.15: GtkSource bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.GtkSource.Flags

Contents

Description

 

Synopsis

Exported types

data SpaceTypeFlags Source #

SpaceTypeFlags contains flags for white space types.

Since: 3.24

Constructors

SpaceTypeFlagsNone

No flags.

SpaceTypeFlagsSpace

Space character.

SpaceTypeFlagsTab

Tab character.

SpaceTypeFlagsNewline

Line break character. If the Buffer:implicit-trailing-newline property is True, SpaceDrawer also draws a line break at the end of the buffer.

SpaceTypeFlagsNbsp

Non-breaking space character.

SpaceTypeFlagsAll

All white spaces.

AnotherSpaceTypeFlags Int

Catch-all for unknown values

data SpaceLocationFlags Source #

SpaceLocationFlags contains flags for white space locations.

If a line contains only white spaces (no text), the white spaces match both SpaceLocationFlagsLeading and SpaceLocationFlagsTrailing.

Since: 3.24

Constructors

SpaceLocationFlagsNone

No flags.

SpaceLocationFlagsLeading

Leading white spaces on a line, i.e. the indentation.

SpaceLocationFlagsInsideText

White spaces inside a line of text.

SpaceLocationFlagsTrailing

Trailing white spaces on a line.

SpaceLocationFlagsAll

White spaces anywhere.

AnotherSpaceLocationFlags Int

Catch-all for unknown values

Instances

data GutterRendererState Source #

No description available in the introspection data.

Constructors

GutterRendererStateNormal

normal state

GutterRendererStateCursor

area in the renderer represents the line on which the insert cursor is currently positioned

GutterRendererStatePrelit

the mouse pointer is currently over the activatable area of the renderer

GutterRendererStateSelected

area in the renderer represents a line in the buffer which contains part of the selection

AnotherGutterRendererState Int

Catch-all for unknown values

Instances

Enum GutterRendererState Source # 
Eq GutterRendererState Source # 
Ord GutterRendererState Source # 
Show GutterRendererState Source # 
BoxedFlags GutterRendererState Source # 
IsGFlag GutterRendererState Source # 

data FileSaverFlags Source #

Flags to define the behavior of a FileSaver.

Since: 3.14

Constructors

FileSaverFlagsNone

No flags.

FileSaverFlagsIgnoreInvalidChars

Ignore invalid characters.

FileSaverFlagsIgnoreModificationTime

Save file despite external modifications.

FileSaverFlagsCreateBackup

Create a backup before saving the file.

AnotherFileSaverFlags Int

Catch-all for unknown values

data DrawSpacesFlags Source #

Deprecated: (Since version 3.24)Use SpaceTypeFlags andSpaceLocationFlags instead.

GtkSourceDrawSpacesFlags determine what kind of spaces whould be drawn. If none of GTK_SOURCE_DRAW_SPACES_LEADING, GTK_SOURCE_DRAW_SPACES_TEXT or GTK_SOURCE_DRAW_SPACES_TRAILING is specified, whitespaces at any position in the line will be drawn (i.e. it has the same effect as specifying all of them).

Constructors

DrawSpacesFlagsSpace

whether the space character should be drawn.

DrawSpacesFlagsTab

whether the tab character should be drawn.

DrawSpacesFlagsNewline

whether the line breaks should be drawn. If the Buffer:implicit-trailing-newline property is True, a line break is also drawn at the end of the buffer.

DrawSpacesFlagsNbsp

whether the non-breaking whitespaces should be drawn.

DrawSpacesFlagsLeading

whether leading whitespaces should be drawn.

DrawSpacesFlagsText

whether whitespaces inside text should be drawn.

DrawSpacesFlagsTrailing

whether trailing whitespaces should be drawn.

DrawSpacesFlagsAll

wheter all kind of spaces should be drawn.

AnotherDrawSpacesFlags Int

Catch-all for unknown values

data CompletionActivation Source #

No description available in the introspection data.

Constructors

CompletionActivationNone

None.

CompletionActivationInteractive

Interactive activation. By default, it occurs on each insertion in the TextBuffer. This can be blocked temporarily with completionBlockInteractive.

CompletionActivationUserRequested

User requested activation. By default, it occurs when the user presses <keycombo><keycap>Control</keycap><keycap>space</keycap></keycombo>.

AnotherCompletionActivation Int

Catch-all for unknown values

Instances

Enum CompletionActivation Source # 
Eq CompletionActivation Source # 
Ord CompletionActivation Source # 
Show CompletionActivation Source # 
BoxedFlags CompletionActivation Source # 
IsGFlag CompletionActivation Source #