ui: improved ui of maximized code file window
* Annotations updated when active token Id changes * FileName in window title * Maximize button not shown * Scrolls roughly to the maximized location. * Maximizing also on double click in code snippet
This commit is contained in:
@@ -7,9 +7,12 @@
|
||||
class MessageShowFile: public Message<MessageShowFile>
|
||||
{
|
||||
public:
|
||||
MessageShowFile(const std::string& filePath, uint lineNumber, const std::vector<Id>& activeTokenIds)
|
||||
MessageShowFile(
|
||||
const std::string& filePath, uint startLineNumber, uint endLineNumber, const std::vector<Id>& activeTokenIds
|
||||
)
|
||||
: filePath(filePath)
|
||||
, lineNumber(lineNumber)
|
||||
, startLineNumber(startLineNumber)
|
||||
, endLineNumber(endLineNumber)
|
||||
, activeTokenIds(activeTokenIds)
|
||||
{
|
||||
}
|
||||
@@ -20,7 +23,8 @@ public:
|
||||
}
|
||||
|
||||
const std::string filePath;
|
||||
const uint lineNumber;
|
||||
const uint startLineNumber;
|
||||
const uint endLineNumber;
|
||||
const std::vector<Id> activeTokenIds;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user