KateIndentDetecter

Search for usage in LXR

KateIndentDetecter Class Reference

#include <kateindentdetecter.h>

Public Member Functions

 KateIndentDetecter (KTextEditor::DocumentPrivate *doc)
 
Result detect (int defaultTabSize, bool defaultInsertSpaces)
 

Detailed Description

File indentation detecter.

Mostly ported from VSCode to here

Definition at line 17 of file kateindentdetecter.h.

Constructor & Destructor Documentation

◆ KateIndentDetecter()

KateIndentDetecter::KateIndentDetecter ( KTextEditor::DocumentPrivate * doc)

Definition at line 10 of file kateindentdetecter.cpp.

Member Function Documentation

◆ detect()

KateIndentDetecter::Result KateIndentDetecter::detect ( int defaultTabSize,
bool defaultInsertSpaces )

Definition at line 98 of file kateindentdetecter.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jul 19 2024 12:00:29 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.