Filewatcher File Search File Search
Catalog
Content Search
» » » » »

libtext-findindent-perl

module to heuristically determine indentation style

Text::FindIndent is a Perl module that attempts to detect the underlying indentation "policy" for a text file (most likely a source code file). You give it a chunk of text, and it tells you if tabs, spaces or combination of both are used for indentation.

It honours Vim midelines and Emacs Local Variables settings.

Homepage:
Package version:0.10-1
Architecture:all
Distribution:Debian
Filename:libtext-findindent-perl_0.10-1_all.deb

/usr/share/man/man3/Text::FindIndent.3pm.gz

Text::FindIndent(User Contributed Perl DocumentText::FindIndent(3pm)



NAME
       Text::FindIndent - Heuristically determine the indent style

SYNOPSIS
         use Text::FindIndent;
         my $indentation_type = Text::FindIndent->parse($text, skip_pod => 1);
         if ($indentation_type =~ /^s(\d+)/) {
           print "Indentation with $1 spaces\n";
         }
         elsif ($indentation_
more»

/usr/share/doc/libtext-findindent-perl/changelog.Debian.gz

libtext-findindent-perl (0.10-1) unstable; urgency=low

  * Team upload.
  * New upstream release
  * debian/copyright: Refer to Debian systems in general instead of only
    Debian GNU/Linux systems.

 -- Salvatore Bonaccorso <carnil@debian.org>  Wed, 05 Jan 2011 22:26:58 +0100

libtext-findindent-perl (0.09-1) unstable; urgency=low

  * New upstream release
  * debian/control:
    - Add libtest-
more»

/usr/share/doc/libtext-findindent-perl/changelog.gz

Changes for Perl extension Text-FindIndent

0.10
	- Robustify some regexes against warnings.

0.09
	- Add vim-commands output.

0.08
	- Handle case where hash keys and values are indented by braces pos + 1
	  (CHORNY)
	- Check if indent level is same on next line and slightly increase probability of
	  current indent type. Should be faster too. (CHORNY)
	- Add option 'first_level_indent_only' to c
more»

/usr/share/doc/libtext-findindent-perl/copyright

Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
Maintainer: 
more»

Browse inside libtext-findindent-perl_0.10-1_all.deb

         [DIR]DEBIAN/ (2)  65535+ mirrors
         [DIR]usr/ (1)  65535+ mirrors

Download libtext-findindent-perl_0.10-1_all.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016 FileWatcher.com