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

DefaultTextViewZoomManager.cs « TextUIUtil « Util « Text « Editor « src - github.com/microsoft/vs-editor-api.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 92c8820853c995c19a4b4a74d272850efeb62b8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Utilities;

namespace Microsoft.VisualStudio.Text.Utilities
{
    [ExportImplementation(typeof(ITextViewZoomManager))]
    [Name("default")]
    internal class DefaultTextViewZoomManager : ITextViewZoomManager
    {
        public void ZoomIn(ITextView textView)
        {
        }

        public double ZoomLevel(ITextView textView)
        {
            return 100;
        }

        public void ZoomOut(ITextView textView)
        {
        }

        public void ZoomTo(ITextView textView, double zoomLevel)
        {
        }
    }
}