NeoMutt  2024-04-16-36-g75b6fb
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
complete.c File Reference

Browser Auto-Completion. More...

#include "config.h"
#include <stddef.h>
#include <stdbool.h>
#include <string.h>
#include "mutt/lib.h"
#include "core/lib.h"
#include "gui/lib.h"
#include "lib.h"
#include "complete/lib.h"
#include "editor/lib.h"
#include "history/lib.h"
#include "mutt_mailbox.h"
#include "muttlib.h"
+ Include dependency graph for complete.c:

Go to the source code of this file.

Functions

int complete_file_mbox (struct EnterWindowData *wdata, int op)
 Complete a Mailbox - Implements CompleteOps::complete() -.
 
int complete_file_simple (struct EnterWindowData *wdata, int op)
 Complete a filename - Implements CompleteOps::complete() -.
 

Variables

const struct CompleteOps CompleteFileOps
 Auto-Completion of Files.
 
const struct CompleteOps CompleteMailboxOps
 Auto-Completion of Files / Mailboxes.
 

Detailed Description

Browser Auto-Completion.

Authors
  • Richard Russon

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file complete.c.

Variable Documentation

◆ CompleteFileOps

const struct CompleteOps CompleteFileOps
Initial value:
= {
.complete = complete_file_simple,
}
int complete_file_simple(struct EnterWindowData *wdata, int op)
Complete a filename - Implements CompleteOps::complete() -.
Definition: complete.c:114

Auto-Completion of Files.

Definition at line 155 of file complete.c.

◆ CompleteMailboxOps

const struct CompleteOps CompleteMailboxOps
Initial value:
= {
.complete = complete_file_mbox,
}
int complete_file_mbox(struct EnterWindowData *wdata, int op)
Complete a Mailbox - Implements CompleteOps::complete() -.
Definition: complete.c:46

Auto-Completion of Files / Mailboxes.

Definition at line 162 of file complete.c.