From 7772c03684624c6b0c1bc535dda1121cb5e95368 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Kr=C3=BCger?= Date: Thu, 10 Sep 2009 06:47:10 +0000 Subject: [PATCH] * Src/PrettyPrinter/IOutputAstVisitor.cs: Exposed some properties from the abstract output formatter into the interface. git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@4902 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61 --- .../Project/Src/PrettyPrinter/IOutputAstVisitor.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Libraries/NRefactory/Project/Src/PrettyPrinter/IOutputAstVisitor.cs b/src/Libraries/NRefactory/Project/Src/PrettyPrinter/IOutputAstVisitor.cs index 263a4fc6fa..f68dc93a58 100644 --- a/src/Libraries/NRefactory/Project/Src/PrettyPrinter/IOutputAstVisitor.cs +++ b/src/Libraries/NRefactory/Project/Src/PrettyPrinter/IOutputAstVisitor.cs @@ -47,6 +47,12 @@ namespace ICSharpCode.NRefactory.PrettyPrinter get; set; } + bool LastCharacterIsNewLine { + get; + } + bool LastCharacterIsWhiteSpace { + get; + } void NewLine(); void Indent(); void PrintComment(Comment comment, bool forceWriteInPreviousBlock);