Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vs-editor-api.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text/Def/TextUI/Editor/WordWrapStyles.cs')
-rw-r--r--src/Text/Def/TextUI/Editor/WordWrapStyles.cs32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/Text/Def/TextUI/Editor/WordWrapStyles.cs b/src/Text/Def/TextUI/Editor/WordWrapStyles.cs
new file mode 100644
index 0000000..d52fb02
--- /dev/null
+++ b/src/Text/Def/TextUI/Editor/WordWrapStyles.cs
@@ -0,0 +1,32 @@
+// Copyright (c) Microsoft Corporation
+// All rights reserved
+
+namespace Microsoft.VisualStudio.Text.Editor
+{
+ /// <summary>
+ /// Sets a bitwise combination of enumeration values to specify the word wrap style of an <see cref="ITextView"/>.
+ /// </summary>
+ /// <remarks>The VisibleGlyphs and AutoIndent bits will have no effect
+ /// unless the WordWrap bit is also set.
+ /// </remarks>
+ [System.Flags]
+ public enum WordWrapStyles
+ {
+ /// <summary>
+ /// Word wrap is disabled.
+ /// </summary>
+ None = 0x00,
+ /// <summary>
+ /// Word wrap is enabled.
+ /// </summary>
+ WordWrap = 0x01,
+ /// <summary>
+ /// If word wrap is enabled, use visible glyphs.
+ /// </summary>
+ VisibleGlyphs = 0x02,
+ /// <summary>
+ /// If word wrap is enabled, use auto-indent.
+ /// </summary>
+ AutoIndent = 0x04
+ }
+} \ No newline at end of file