title: highlighting selected line in active window with some colour c#(notepad++ plugin)
body: <p>Hi am doing a notepad++ plugin using c#</p>
  
  <p>what i need is ,show the active window between the given line number in some color. Lets say i have line number 2 and 8,then it has to highlight the notepad++ screen between line number 2 and 8 in green color.</p>
  
  <blockquote>
    <p>Reading from active window</p>
  </blockquote>
  
  <pre><code>        int length = (int)Win32.SendMessage(GetCurrentScintilla(), SciMsg.SCI_GETLENGTH, 0, 0);
          IntPtr ptrToText = Marshal.AllocHGlobal(length + 10);
          Win32.SendMessage(GetCurrentScintilla(), SciMsg.SCI_GETTEXT, length+10, ptrToText);
          String InputFromActiveWindow = Marshal.PtrToStringAnsi(ptrToText);
  </code></pre>
  
  <blockquote>
    <p>code for focusing a selected line</p>
  </blockquote>
  
  <pre><code>       Win32.SendMessage(curScintilla, SciMsg.SCI_ENSUREVISIBLE, lineNumber, 0);
          Win32.SendMessage(curScintilla, SciMsg.SCI_GOTOLINE, lineNumber, 0);
          Win32.SendMessage(curScintilla, SciMsg.SCI_GRABFOCUS, 0, 0);
          Win32.SendMessage(curScintilla, SciMsg.SCI_GRABFOCUS, 0, 0);
  </code></pre>
  
  <blockquote>
    <p>//Answer is</p>
  </blockquote>
  
  <pre><code>win32.SendMessage(PluginBase.nppData._scintillaMainHandle, SciMsg.SCI_MARKERDEFINE, 1, (int)SciMsg.SC_MARK_BACKGROUND);
              Win32.SendMessage(PluginBase.nppData._scintillaMainHandle, SciMsg.SCI_MARKERSETBACK, 1, 0x99FF00);
              for (int linetobeHighlighted = StartLine; linetobeHighlighted &lt;= EndLine; linetobeHighlighted++)
              {
                  Win32.SendMessage(PluginBase.nppData._scintillaMainHandle, SciMsg.SCI_MARKERADD, linetobeHighlighted, 1);
              }
  </code></pre>