Skip to content

action that removes entries from list of recently used files#4338

Merged
sunderme merged 2 commits intotexstudio-org:masterfrom
octaeder:fileSelector
Feb 18, 2026
Merged

action that removes entries from list of recently used files#4338
sunderme merged 2 commits intotexstudio-org:masterfrom
octaeder:fileSelector

Conversation

@octaeder
Copy link
Copy Markdown
Contributor

When working with multiple files and using the preview in the PDF-viewer, the “Go to Source” action may open the file generated for the preview instead of the original file. In such cases, unwanted entries can be removed from the list of recently used files.

Open the File / Open Recent menu and select File list. In the displayed list, right‑click the entry to be removed and choose Remove selected files from the context menu. To remove multiple entries at once, select them using mouse clicks combined with Ctrl or Shift (depending on the OS), then use the context menu.

grafik grafik grafik grafik grafik


signals:
void fileChoosen(const QString &name, int duplicate, int lineNr, int column);
void file2Remove(const QString &name);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

txs does not use a2b function names.
write it out/abbreviate it clearly

QStringList rawFiles;
QList<QPair<QString, int> > currentFiles();
bool multiselect;
bool menuAvailable;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be "enableContextMenu" or similar

@sunderme sunderme merged commit a2ad237 into texstudio-org:master Feb 18, 2026
8 checks passed
@sunderme
Copy link
Copy Markdown
Member

thanks

@octaeder octaeder deleted the fileSelector branch February 18, 2026 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants