~ubuntu-branches/ubuntu/trusty/kate/trusty-proposed

« back to all changes in this revision

Viewing changes to part/script/data/indentation/cppstyle.js

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac
  • Date: 2014-06-04 16:48:44 UTC
  • mfrom: (1.1.46)
  • Revision ID: package-import@ubuntu.com-20140604164844-dqgx2g13surkmfhd
Tags: 4:4.13.1-0ubuntu0.1
New upstream bugfix release (LP: #1318142)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1598
1598
            // Remove just entered (redundant) one
1599
1599
            document.removeText(line, column - 1, line, column);
1600
1600
        }
1601
 
        else if (prev[1] == '.' && prev[2] == '.')          // Append one more if only two here
 
1601
        // Append one more if only two here and we are in 'Normal Mode'
 
1602
        else if (prev[1] == '.' && prev[2] == '.' && document.defStyleNum(line, column) == 0)
1602
1603
        {
1603
1604
            addCharOrJumpOverIt(line, column, '.');
1604
1605
        }                                                   // Otherwise, do nothing...