Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. COM
  4. addin, that comments code

addin, that comments code

Scheduled Pinned Locked Moved COM
helpquestioncsharpvisual-studiotools
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    schaereran gmx net
    wrote on last edited by
    #1

    i want to write a simple addin for VS.NET, which comments(like //##MYNAME**NR2003##//) the selceted lines of code. this is all finde and easy, but i have now a hughe problem: if "selction margin" is switched on (under tools/ options/texteditor), then the addin does not work properly, when selecting code, that contents of outlined code. when i make things like: pTextSelection->get_CurrentLine(&lCurrLine); pTextSelection->get_TopLine(&lTop); pTextSelection->get_BottomLine(&lBottom); i get only the linenumbers of the code currently visible on the screen. but i also want the numbers of the lines who are outlined! how can i do this???? i didnt found any function! the only function i found is the one to outline code (->OutlineSection) but i would like to do the contrary!!! please help me! thanx, andreas

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups