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
M

m schmidt

@m schmidt
About
Posts
1
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • collapse specific outlining section
    M m schmidt

    Hi, does anybody know if it is possible to collapse a specific section? I declared with following lines, some comments of our source code: #pragma region history /* comments ... */ #pragma endregion I found a solution, which collapses all code sections to it's definitions, which is nested in the Visual Studio Macros: Private blnLoading As Boolean Private Sub DocumentEvents_DocumentOpened(ByVal Document As EnvDTE.Document) Handles DocumentEvents.DocumentOpened blnLoading = True End Sub Private Sub WindowEvents_WindowActivated(ByVal GotFocus As EnvDTE.Window, ByVal LostFocus As EnvDTE.Window) Handles WindowEvents.WindowActivated If blnLoading Then DTE.ExecuteCommand("Edit.CollapsetoDefinitions") blnLoading = False End If End Sub But it collapse just all sections? Have anybody a solution for collapsing my specific section?

    Visual Studio csharp visual-studio question
  • Login

  • Don't have an account? Register

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