% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/editor.R
\name{get_editor_ctx}
\alias{get_editor_ctx}
\title{Get the active source editor context}
\usage{
get_editor_ctx()
}
\value{
An \code{rstudio_editor_context} object (a list returned by
\code{\link[rstudioapi:rstudio-editors]{rstudioapi::getSourceEditorContext()}}).
}
\description{
Wraps \code{\link[rstudioapi:rstudio-editors]{rstudioapi::getSourceEditorContext()}} with a check that RStudio is
available.  Called by all addin entry points before any other operation.
}
\keyword{internal}
