Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-07-03Cleanup: Editors/Space/Text, Clang-Tidy else-after-return fixesSybren A. Stüvel
This addresses warnings from Clang-Tidy's `readability-else-after-return` rule in the `source/blender/editors/space_text` module. No functional changes.
2020-04-03Cleanup: use abbreviated names for unsigned types in editorsCampbell Barton
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2019-08-14Text editor: syntax highlighting + line numbers on by defaultSybren A. Stüvel
The most common use of the text editor seems to be for scripting. Having line numbers and syntax highlighting enabled by default seems sensible. Syntax highlighting is now enabled by default, but is automatically disabled when the datablock has a non-highlighted extension. Highlighting is enabled for filenames like: - Text - Text.001 - somefile.py and is automatically disabled when the datablock has an extension for which Blender has no syntax highlighter registered. Reviewers: billreynish, campbellbarton Subscribers: brecht, billreynish Differential Revision: https://developer.blender.org/D5472
2019-04-22Cleanup: style, use braces for editorsCampbell Barton
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2018-12-12Cleanup: use colon separator after parameterCampbell Barton
Helps separate variable names from descriptive text. Was already used in some parts of the code, double space and dashes were used elsewhere.
2018-06-04Cleanup: strip trailing space in editorsCampbell Barton
2015-12-01Text Editor: store font id in a drawing contextCampbell Barton
2013-03-12fix own regression in 2.66 [#34610] Text editor: Syntax highlighting freezesCampbell Barton
2013-02-27fix [#34460] text editor freezes when turning on syntax highlight Campbell Barton
2013-01-16style cleanupCampbell Barton
2013-01-16text syntax highlighting: don't use utf8 stepping if we know the text is asciiCampbell Barton
2013-01-16patch [#33888] Syntax Highlighting ChangesCampbell Barton
from Benjamin Tolputt (btolputt), (with minor changes) adds support for LUA syntax highlighting.
2013-01-16text syntax highlighting, add utility function 'text_format_fill()' which ↵Campbell Barton
fills in the line with a formatting value. this fixes a mistake in OSL lexer which would comment all lines after '//'
2012-12-30Missing NULL check which crashes on opening the Text Editor without an ↵Dan Eicher
active Text object
2012-12-29patch [#33609] Syntax highlighting for OSL in Text EditorCampbell Barton
from Patrick Boelens (senshi). with modifications to split it into its own function. also added C style multi-line comment support /* ... */ I've left out the part of this patch that sets the language in the space, since I think this might be better stored in the text block. For now it simply uses OSL syntax highlighting when the extension is '.osl'.
2012-12-29code cleanupCampbell Barton
2012-12-19code cleanup: remove unneeded include's and rename some static functions in ↵Campbell Barton
text_format_py.c
2012-12-19generalize formatting code so different formatters can be registered and ↵Campbell Barton
each has their own source file, Since we will likely have OSL formatting added soon.