gedit-intelligent-text-completion icon indicating copy to clipboard operation
gedit-intelligent-text-completion copied to clipboard

Auto indent does not work on new line

Open dalishi opened this issue 8 years ago • 0 comments

Hi previously it worked perfect on my laptop. But recently when I installed the plugin on my desktop it does not indent on new lines like the below two examples. But when I use block braces it worked by indent four spaces like in example 2. I am using gedit 3.10.4 on Ubuntu14.04.5 64bit. Thanks.

Example 1: xml does not indent on new line

<styles>
        <style id="string" _name="String" map-to="def:string"/>
does not indent here??

Example 2: cpp does not indent on new line and only indent after {

#include <cstdio>

int
main() {
    int i = 0; // indent when using {}
//not indent here on this line??
}

dalishi avatar Sep 29 '16 07:09 dalishi